At 01:26 PM 3/23/2001 -0500, NeonEdge wrote:
>Dan Sugalski wrote:
> >If we do, then something as simple as this:
> >
> > while (<IN>) {
> > $count++ if /bar/;
> > print OUT $_;
> > }
> >
> >would potentially result in the output file being rather different from the
> >input file. Equivalent, yes, but different. Whether that's bad or not is an
> >open question.
>
>I don't believe that any scalar defined within the parsed application space
>should be transformed permanently. There shouldn't be any difference between
>the input file and the output file in the above example (it could cause
>issues with non-Perl apps).
This is not unreasonable. I'd prefer not to carry around multiple versions
of strings if it can be avoided, though. That can add up really quickly.
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk