J
jtbutler78
I am having an issue with glob but I am not sure what the deal is.
Here is my code:
$history = "\\\\server\\share\$\\folder";
$look_in_here = "$history\\*.*";
@allfiles = glob("$look_in_here") or die $!;
print @allfiles; - gives me literally "\serversharefolder"
but if I say this for $history = "k:\\folder"; the glob seems to work
ok. I dont want to map drives on this server. Is there a way to get
the glob to read the path name
thanks
Jim
Here is my code:
$history = "\\\\server\\share\$\\folder";
$look_in_here = "$history\\*.*";
@allfiles = glob("$look_in_here") or die $!;
print @allfiles; - gives me literally "\serversharefolder"
but if I say this for $history = "k:\\folder"; the glob seems to work
ok. I dont want to map drives on this server. Is there a way to get
the glob to read the path name
thanks
Jim