do FILEHANDLE # FILEHANDLE is opened with a special PerlIO # layer that calls sub {...} on read.I can't imagine that this will work. The expression after do is expected to be a file name, so in the unlikely event that Perl would do something useful in this case, it would be an undocumented feature.
Maybe it would make more sense to drop do alltogether and instead write your own IO layer? See for instance PerlIO.
In reply to Re: do FILEHANDLE ?
by rovf
in thread do FILEHANDLE ?
by tfoertsch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |