Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Perl oddities

by QM (Vicar)
on Mar 01, 2005 at 23:55 UTC ( #435656=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Perl oddities
in thread Perl oddities

What's wrong about the warning? It's there to prevent the common pitfall of expecting things like this to work right:
print (stat)[9];
His point was the warning cares about exactly one space. Why it shouldn't it give the same warning for these also?
print(stat)[9] print (stat)[9]
is obtuse. I'm sure there are a hundred root nodes on this site alone about abuse of white space, so I'll defer to them.

-QM
--
Quantum Mechanics: The dreams stuff is made of


Comment on Re^3: Perl oddities
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2014-09-17 06:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (61 votes), past polls