in reply to Re: Re: Re: Problems with unopened filehandle after upgrade to ActivePerl 5.6.1
in thread Problems with unopened filehandle after upgrade to ActivePerl 5.6.1

No idea why it worked... my typeglob-fu is somewhat weak. I just happened to notice it while fiddling around with your example. Here are some smallest-case scenerios:
#### in 5.6.1 *F works, but \*F fails % perl5.6.1 -we'{local *F; $tmp=*F; open F,">out"} print $tmp $tmp'; % cat out *main::F % perl5.6.1 -we'{local *F; $tmp=\*F; open F,">out"} print $tmp $tmp'; print() on unopened filehandle F at -e line 1.

-Blake

  • Comment on Re4: Problems with unopened filehandle after upgrade to ActivePerl 5.6.1
  • Download Code