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

Re: segregating data from one file to many files

by ikegami (Patriarch)
on May 08, 2009 at 18:40 UTC ( #762910=note: print w/replies, xml ) Need Help??


in reply to segregating data from one file to many files

my $line=<FH> reads a line from the current position in the file. It doesn't start reading from the start of the file once you've reached the end. Reopen the file or seek to the beginning.

Replies are listed 'Best First'.
Re^2: segregating data from one file to many files
by patric (Acolyte) on May 08, 2009 at 18:50 UTC
    thank you :) i opened the file inside the for loop. It works well now. Thanks once again :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2022-01-29 14:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (74 votes). Check out past polls.

    Notices?