Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^4: (nearly) readonly globals

by haoess (Curate)
on Jan 26, 2009 at 18:49 UTC ( #739006=note: print w/ replies, xml ) Need Help??


in reply to Re^3: (nearly) readonly globals
in thread (nearly) readonly globals

I don't give up:

% bleadperl -Mstrict -wE 'for $1 ( 10..13 ) { say $1 }' 10 11 12 13

And now, these globals loose their magic:

% bleadperl -Mstrict -wE 'for $1 ( 10..13 ) { $1 =~ /^(\d)/; say $1 }' 10 11 12 13

-- Frank


Comment on Re^4: (nearly) readonly globals
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2014-12-18 01:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (41 votes), past polls