P is for Practical | |
PerlMonks |
Re^3: libwww-perl basicsby rowdog (Curate) |
on Aug 13, 2010 at 11:22 UTC ( [id://854888]=note: print w/replies, xml ) | Need Help?? |
You could write the file to a temp file, parse the header, and then rename the file. As an alternative, lwpcook shows how to process a file as it arrives, so maybe you can read the header when the first chunk comes in.
In Section
Seekers of Perl Wisdom
|
|