Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-08-01 01:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (256 votes), past polls