Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by matpalm (Initiate)
on Aug 07, 2003 at 02:28 UTC ( #281699=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    map { print "before $_\n" } @instances;
    map { screwed "$_"; } @instances;
    map { print "after $_\n" } @instances;
    
  2. or download this
    a1
    a2
    
  3. or download this
    b1
    b2
    
  4. or download this
    before a
    before b
    ...
    file b contains b2
    after
    after
    
  5. or download this
    before a
    before b
    ...
    opening file named b
    after a
    after b
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2014-07-10 03:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (198 votes), past polls