Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Perl oddities

by PreferredUserName (Pilgrim)
on Mar 01, 2005 at 14:54 UTC ( #435456=note: print w/replies, xml ) Need Help??


in reply to Re: Perl oddities
in thread Perl oddities

I also find this artifact useless, but a saving grace is that you can at least say:
if (%hash) { # it's not empty }
even though the string "0/8" evaluates to true.

Replies are listed 'Best First'.
Re^3: Perl oddities
by mojotoad (Monsignor) on Mar 02, 2005 at 21:12 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://435456]
help
Chatterbox?
shmem puts down the Canon garments and dresses as Chancellor
[vrk]: Congratulations. You should have Cookies
[shmem]: thanks vrk - but I'll rather have a plate of "silly con charme"
Lady_Aleena is trying to explain perl regexen to people right now and explaining how variables expand in regexen.
[Lady_Aleena]: The people I'm talking with think /$var/ looks weird with some saying it shouldn't work.

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2017-04-28 09:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (520 votes). Check out past polls.