go ahead... be a heretic | |
PerlMonks |
Re: Can't clone STD handle with :via layerby frozenwithjoy (Priest) |
on Apr 08, 2014 at 13:53 UTC ( [id://1081509]=note: print w/replies, xml ) | Need Help?? |
Hi there. I have two suggestions: (1) Why are you trying to open a filehandle to STDOUT? Why not just print? For example, this:
Prints this: =20=(2) If you actually need to use STDOUT as a filehandle, an alternative that gives the same output as above is this:
In Section
Seekers of Perl Wisdom
|
|