in reply to globbing on remote network paths
Is this supposed to be a UNC? a relative directory? You might take a look at using File::Spec to build your path to make sure that the directory seperators are correct. Something like
$path=File::Spec->catfile('//server','share','dir-1','*inst.tar.gz');
You might need to play around with this some to get it to work right. You might also want to chdir to the directory prior to running the glob.
$path=File::Spec->catfile('//server','share','dir-1','*inst.tar.gz');
You might need to play around with this some to get it to work right. You might also want to chdir to the directory prior to running the glob.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: globbing on remote network paths
by Anonymous Monk on Aug 22, 2007 at 04:06 UTC |
In Section
Seekers of Perl Wisdom