Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Should be simple, What don't I see?

by Abigail-II (Bishop)
on May 30, 2002 at 15:36 UTC ( [id://170423]=note: print w/replies, xml ) Need Help??


in reply to Re: Should be simple, What don't I see?
in thread Should be simple, What don't I see?

Could you enlighten me how your logic differs from the logic used by fennon?

And while you are at it, could you explain why you used both -w and use warnings;? And why do you submit to the evils of quoting lone scalars as you are doing in assignment to $email?

Abigail

Replies are listed 'Best First'.
(what are the evils of quoting lone scalars?) Re: Re: Should be simple, What don't I see?
by crazyinsomniac (Prior) on Jun 14, 2002 at 11:54 UTC
      Stringification of references is irreversable.

      Abigail

      I don't understand your update. Is it a specific version if "why would anyone make a mistake"? I wouldn't know, but I'll keep warnings enabled and continue using strict anyway. Or do you mean why would they do:
      foo = "$foo" if ref $foo;
      In that case, I don't see what that has to do with the thread.

      Needless quoting of scalar is evil. You get into a habit where you easily make a mistake. Like quoting a ref. It might go well 99 times, but you are getting bitten the 100th time.

      Abigail

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://170423]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-25 17:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found