----- Original Message -----
From: Bob Bondi <[EMAIL PROTECTED]>
To: Beginners-perl <[EMAIL PROTECTED]>
Sent: Friday, July 20, 2001 11:49 PM
Subject: Snippet to list both directories and files to an array or...?


> I've been trying to use opendir($tempdir,@ARGV[0]) or die "Couldn't open
the
> directory, $!";

Try this:

opendir(TMPDIR, $ARGV[0]);


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to