Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Reading a text file collapsing line continuations

by skx (Parson)
on Mar 09, 2009 at 15:37 UTC ( #749322=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
     4 4 \
      4 4
    5 5
    
  2. or download this
    skx@gold:~$ ./bug.pl 
    LINE: '1 1'
    ...
    LINE: ''
    skx@gold:~$ perl -v|grep perl,
    This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi
    
  3. or download this
    steve@skx:~$ ./bug.pl 
    LINE: '1 1'
    ...
    LINE: ''
    steve@skx:~$ perl -v | grep perl,
    This is perl, v5.8.8 built for i486-linux-gnu-thread-multi
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2014-11-27 11:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (184 votes), past polls