Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2015-07-28 06:51 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 (252 votes), past polls