Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Bad line numbers .. bad!

by rjt (Deacon)
on Jul 25, 2013 at 21:08 UTC ( #1046425=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use 5.010;
    use warnings;
    use autodie;
    ...
        
        select STDOUT;
    }
    
  2. or download this
    use File::Slurp;
     
    $_ = read_file($ARGV[0] // $0);
    ...
    s/\x0d/<CR>/g, s/\x0a/<LF>/g;
    s/((?:<CR>)?<LF>)/$1\n/g; # Add real line breaks
    say;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (14)
As of 2015-07-07 21:04 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 (93 votes), past polls