They help getting and setting the "pointer" of a filehandle.
Cheers Rolf
( addicted to the Perl Programming Language)
PS: regarding your code
> open ($hdl_sauv, "<",$file) || die "cannot open $file\n";
are you aware that $file is a filehandle and not a path?
If you wanna dup a filehandle you need something like "<&" as MODE. See open for details.
Though don't think this handles position the way you want to.
In reply to Re: How to make a copy of filehandle
by LanX
in thread How to make a copy of filehandle
by loituma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |