in reply to perl, cpio, and pipe
You don't check whether $archivedir exists and you can chdir into it. Use autodie or manually check for success:
chdir $archivedir or die "Couldn't chdir into '$archivedir': $!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl, cpio, and pipe
by momo33 (Beadle) on Jan 13, 2011 at 14:27 UTC |