Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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: (16)
As of 2015-07-30 12:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls