in reply to reading files and directories, part two
If you just want to print to OUTFILE and not print to stdout as well (davido has answered that part), just replicate your other print statements, like this:
print (OUTFILE "<B>$file</B><BR>\n") if -d "$dir/$file";And perldoc -f open is something you have to enter at a command line prompt which gives you documentation on the perl function 'open' - in case this was the problem and not the documentation of the 'open' function itself.
-- Hofmator
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: reading files and directories, part two
by ctp (Beadle) on Jan 08, 2004 at 15:34 UTC | |
by Hofmator (Curate) on Jan 08, 2004 at 15:42 UTC |