Wiggins d'Anconia <[EMAIL PROTECTED]> wrote:
> Though it seems a bit odd that you want to recursively read a
> filehandle.
It certainly would be a cool way to handle include
directives when parsing config files, i.e.
my $conf = "/etc/apache/httpd.conf"
open( my $fh, $conf ) or die "Can't open '
Japerlh wrote:
> How can we read files recursively?
>
> Seems like filehandler is a global variable, no matter where it was defined.
> and put a openfile in a recursion function doesn't work.
>
> Anyone can give me any hints?
perldoc -q filehandle
John
--
To unsubscribe, e-mail: [EMAIL PROTE
Japerlh wrote:
> How can we read files recursively?
>
> Seems like filehandler is a global variable, no matter where it was defined.
> and put a openfile in a recursion function doesn't work.
>
> Anyone can give me any hints?
> Thanks a lot.
>
>
In newer perl's you can store a filehandle direc