NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
A better tip... (Score:2)
Re:A better tip... (Score:2)
I think Archive::Zip should do the rel2abs() by itself — or just not close the ZIP file.
Re:A better tip... (Score:2)
But in general programming terms I've come to think that any use of chdir() is probably a bad thing. Unless you have to exec a program that expects to be in a certain dir, but then you should probably fork, chdir, and exec.
Re:A better tip... (Score:2)
But in general programming terms I've come to think that any use of chdir() is probably a bad thing.
I've never considered chdir a bad thing, especially with File::chdir [cpan.org]. What's your reason for not using chdir?
Re:A better tip... (Score:2)
Reply to This
Parent