nysus has asked for the wisdom of the Perl Monks concerning the following question:
No dice.@photos = <../images/albums/$directory/*.jpg>;
My second attempt:
...was also unsuccessful, both with and without the trailing slash in the first line. What obvious thing am I overlooking here?chdir "../images/albums/$directory/"; @photos = <*.jpg>;
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar";
$nysus = $PM . $MCF;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(Ovid - reading files) Re: File globbing to a different directory
by Ovid (Cardinal) on Apr 25, 2001 at 02:00 UTC | |
by nysus (Parson) on Apr 25, 2001 at 02:21 UTC | |
by Ovid (Cardinal) on Apr 25, 2001 at 02:37 UTC | |
by nysus (Parson) on Apr 25, 2001 at 04:04 UTC |