Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^3: split a file

by k_manimuthu (Monk)
on Dec 23, 2010 at 05:33 UTC ( #878730=note: print w/ replies, xml ) Need Help??

in reply to Re^2: split a file
in thread split a file

I think your almost completed. For the statement ' print $line;' show the record in the command line only. Insist of you print the file handler that affect the file.

So change the below line in to your code.

print OUT $line;

Comment on Re^3: split a file
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2015-11-30 00:57 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (755 votes), past polls