Beefy Boxes and Bandwidth Generously Provided by pair Networks Ovid
more useful options
 
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 pondering the Monastery: (4)
As of 2014-04-19 21:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (483 votes), past polls