Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Help with splitting one text file into other text files

by Fletch (Chancellor)
on Mar 30, 2011 at 15:35 UTC ( #896444=note: print w/replies, xml ) Need Help??


in reply to Re: Help with splitting one text file into other text files
in thread Help with splitting one text file into other text files

Depending on the OS and the number of simultaneous handles you need FileCache might also be of interest.

The cake is a lie.
The cake is a lie.
The cake is a lie.

  • Comment on Re^2: Help with splitting one text file into other text files

Replies are listed 'Best First'.
Re^3: Help with splitting one text file into other text files
by Anonymous Monk on Mar 30, 2011 at 15:43 UTC
    Or FileCache::Handle, but what is really needed, is a lexically scoped pragma like autodie, so you can
    use autofilecache; use autodie; my @Fs; for(1..1024){ open my($f),'<',$_; push @Fs, $f; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://896444]
help
Chatterbox?
[Corion]: Yay, vacation time now - one week off work (but a Perl workshop in the middle ;)) )
[talexb]: TStanley I just realized that I was in your area for a convention back in April. We were at the high school for the weekend, the one with the long driveway. Nice spot.
[TStanley]: I am heading to Arlington, Virginia next week, then I get to spend an entire week at home. Looking forward to that as I will have spent 7 weeks on the road by the end of next week
[talexb]: That's a long road trip. I haven't travelled for business in years.

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2017-06-23 14:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (548 votes). Check out past polls.