Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Perl oddities

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

Help for this page

Select Code to Download


  1. or download this
    print (stat)[9];
    
  2. or download this
    print(stat)[9]
    
    print              (stat)[9]
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://435656]
help
Chatterbox?
[oiskuu]: Ahem. Speaking of toxic injections.. Is there a simple way to inject into package a sub{} so that it captures a $variable that is declared package my?
[Corion]: oiskuu: No, which is why I hate package-scope lexicals
[marto]: yikes
[Corion]: Variables declared in a package should always be globals so that you can get at them from the outside
[oiskuu]: source filter to s/my/our/g :p
[robby_dobby]: oiskuu: Damn, you're evil.
[robby_dobby]: I was actually thinking of a source filter, you went ahead and voiced it!

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2017-12-15 19:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (442 votes). Check out past polls.

    Notices?