HI


I am trying to log on to my unix server (from my windows m/c) and list the directory structure. I came across this File::Find module . It works fne on my windows m/c. but when i try to telnet to my unix m/c and set the base dir as xxx it gives the following error

"Can't stat /home/<userid>: No such file or directory".
If i just give a "ls " command on the samr dir it works fine.
the code used is as follows:

Code
===
find(\&edits, $basedir);
sub edits()
{
print "File name is $_\n\t\tFull path is $File::Find::name\n";
}
where $basedir is the home directory.
Also is it possible to traverse each directory one by one?

TIA

Ashish

_________________________________________________________________
Looking for love? Yearning for friendship? http://www.msn.co.in/Romance/ You're in the right place


_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to