[Israel.pm] recursive regex
Shlomo Yona
shlomo at cs.haifa.ac.il
Wed Jun 9 03:41:34 PDT 2004
On Wed, 9 Jun 2004 Yossi.Itzkovich at ecitele.com wrote:
> I have never used in a while loop same file handle in 2 places at the same
> time. Does it mean that each while manages its own position pointer in the
> file ?
1. you can pass the file handler to the recursive function,
and not use a global file handlder like I did.
2. AFAIK, there's one "position" pointer per handler.
--
Shlomo Yona
shlomo at cs.haifa.ac.il
http://cs.haifa.ac.il/~shlomo/
More information about the Perl
mailing list