in reply to Re: file::spec and catfile?
in thread file::spec and catfile?
unlinking should be easy once I get the elements of the array and the path finally combined I think. Any ideas? Thanks...sorry that first post was so unclear, I'm running on 4 hours of sleep!!use File::Spec; print "File Name?\n"; $ToBeDeleted = <STDIN>; open(IN, $ToBeDeleted) or die " The file $TheFile .....Missing In Acti +on.\n"; @arr = <IN>; print "Directory where files are located?\n"; $Path = <STDIN>; $x=File::Spec->catfile("$path","@arr"); unlink $x;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: file::spec and catfile?
by bikeNomad (Priest) on Jun 29, 2001 at 20:58 UTC | |
|
Re^3: file::spec and catfile?
by VSarkiss (Monsignor) on Jun 29, 2001 at 21:00 UTC |