Try
print { $marctags[$x][3] } $tagdata[$x];
That will force perl to treat the fist parameter to print as an indirect object handle. I'll update with a link to the relevant docs when I find it. . No need. It's right there in preceding link.
In reply to Re: Interpolation of file handles in print
by BrowserUk
in thread Interpolation of file handles in print
by lsbrowat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |