Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: opening a file destroys nulling entries in a list?!?!

by matpalm (Initiate)
on Aug 07, 2003 at 03:47 UTC ( #281737=note: print w/ replies, xml ) Need Help??


in reply to Re: opening a file destroys nulling entries in a list?!?!
in thread opening a file destroys nulling entries in a list?!?!

my first attempt was with

foreach(@instances) { screwed "$_"; };
and then when it didn't work i showed it to someone here at work and he introduced me to maps so i used
map { screwed "$_"; } @instances;
but...
screwed "$_" for @instances;
..is even less typing again!


Comment on Re: Re: opening a file destroys nulling entries in a list?!?!
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (13)
As of 2015-07-07 13:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls