Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: text to array

by torres09 (Acolyte)
on Jun 06, 2013 at 09:29 UTC ( #1037420=note: print w/ replies, xml ) Need Help??


in reply to Re^3: text to array
in thread text to array

it does not work , stops after first line of document

Replies are listed 'Best First'.
Re^5: text to array
by Anonymous Monk on Jun 06, 2013 at 09:35 UTC
    Sure, you say that, but you don't show 10 lines of file , you can use  perl -MData::Dump -MFile::Slurp -e " dd scalar read_file shift, { qw/ binmode :raw / }; "  tenlinefile > tenlinefileasperl.pl

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2016-06-30 23:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (405 votes). Check out past polls.