> > The problem is one of my strings is "00". It gets written out fine, but
gets
> > read in as "0". How can I stop this from happening?
> >
>
> Perl has no problem reading a string like this. Are you sure you don't add
> it with 0 or do something else numeric in between? It works for me.
Ah, you
On Mon, 2 Jun 2003, Sockmonkey wrote:
> My program writes string to a text file and reads them back in. I do it like
> this:
>
> print OUT "$str\n";
>
> and then
>
> $str = ;
> chomp($str);
>
> The problem is one of my strings is "00". It gets written out fine, but gets
> read in as "0". How can I
My program writes string to a text file and reads them back in. I do it like
this:
print OUT "$str\n";
and then
$str = ;
chomp($str);
The problem is one of my strings is "00". It gets written out fine, but gets
read in as "0". How can I stop this from happening?
Thx
--
To unsubscribe, e-ma