Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: self-feeding infinite loop

by graff (Chancellor)
on Aug 18, 2007 at 14:14 UTC ( [id://633483]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     map { whatever } @array;
    
  2. or download this
    perl -le '@a=qw/a a/; map{push @a,"A"; print "@a"} @a'
    # prints:
    ...
    perl -le '@a=qw/a a/; map{@a=(); print "@a"} @a'
    # prints two blank lines
    
  3. or download this
    foreach (@array) {
        # add or remove elements in @array...
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://633483]
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 22:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found