Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2018-02-18 03:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (250 votes). Check out past polls.

    Notices?