Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Please explain what the "./" represents here? I assume it means present working directory? If so how would I rewrite this to take an input?$dir = "./";
I tried:$dir = "./"; opendir( DIRS, $dir );
Print "Enter directory"; $dir=<STDIN>; chomp $dir; opendir (DIRS, $dir);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Changing to input
by zejames (Hermit) on Jul 03, 2002 at 12:52 UTC | |
by Anonymous Monk on Jul 03, 2002 at 13:40 UTC | |
by Aristotle (Chancellor) on Jul 03, 2002 at 14:00 UTC | |
by Anonymous Monk on Jul 03, 2002 at 14:18 UTC | |
|
Re: Changing to input
by Zaxo (Archbishop) on Jul 03, 2002 at 12:54 UTC |