Just niticed a couple things, no biggie but:

> Hi, try this sample code:
> 
> $dir = 'C:\\Folder\\.';
> 
> print "'\n", $dir;

Do you mean print "\n" without the single quote next to the newline ?

> 
> opendir DIR, $dir or die "Cannot open $dir: $!";
> 
> foreach (@files=readdir DIR){
What is @files for?
Couldn't you just do:
        for(readdir DIR) { print "\n$_"; }
        

>     print '"\n", $_;

Again the single quote, is that right?
And I think you mean . Instead of , in that line to. 
Which actualy is unneccessary anyway (See example above).

Just some thoughts..

Dmuey

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

Reply via email to