in reply to Re: Re (tilly) 1: codeopen(INPUT, "<INPUT") gives INPUT opened only for output
in thread codeopen(INPUT, "<INPUT") gives INPUT opened only for output

Yeah I should have mentioned I didn't want to use IO::Scalar; at least File::Temp is standard in 5.6.1 and there is a fall back which is always available.

-- perl -p -e "s/(?:\w);(<A HREF="/index.pl?node=st&lastnode_id=2437">st< +/A>)/'\$1/mg"
  • Comment on Re: Re: Re (tilly) 1: open(INPUT, "&lt;INPUT") gives INPUT opened only for output
  • Download Code