Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Refactoring Perl #6 - Split Temporary Variable

by agianni (Hermit)
on Aug 16, 2007 at 20:19 UTC ( #633165=note: print w/replies, xml ) Need Help??


in reply to Re: Refactoring Perl #6 - Split Temporary Variable
in thread Refactoring Perl #6 - Split Temporary Variable

Yeah, now that I think of it, in PBP , TheDamian suggests:

Always declare a for loop iterator variable with my. (p. 108)

for just that reason. As such, I think re-use of temporary variables in Perl should be limited only to accumulators.

perl -e 'split//,q{john hurl, pest caretaker}and(map{print @_[$_]}(joi +n(q{},map{sprintf(qq{%010u},$_)}(2**2*307*4993,5*101*641*5261,7*59*79 +*36997,13*17*71*45131,3**2*67*89*167*181))=~/\d{2}/g));'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://633165]
help
Chatterbox?
[choroba]: Trainspotting without OV is just a half of the movie!
LanX just single handedly stopped Brexit!
[Happy-the-monk]: LanX; you did?
[Discipulus]: ah! plastering thanks..

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2018-02-19 10:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (262 votes). Check out past polls.

    Notices?