RE: How can we read files recursively?

2005-07-18 Thread Thomas Bätzler
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 '

Re: How can we read files recursively?

2005-07-18 Thread John W. Krahn
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

Re: How can we read files recursively?

2005-07-18 Thread Wiggins d'Anconia
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