Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Perl oddities

by QM (Parson)
on Mar 01, 2005 at 23:55 UTC ( [id://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

Log In?
Username:
Password:

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

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

    No recent polls found