[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] The S)ubstitute command



At 13.36 -0500 1998.06.01, Mark Manning/Simulacron I wrote:
>(Where there are tabs between each of the fields normally and the second
>line has a bunch of spaces before the first tab.)  The size of the
>spaces left in the name were exactly the size of the area which was
>removed.
>
>Anyway - no mistake.  And if I can get MacPerl to mess-up consistently
>I'll post again about this.  If not, then I have to assume it was just a
>glitch which either my system, the hard drive, or the installation of
>MacPerl I had at the time.

Q: did you check the data before the substitution?

  print "<$name>";
  $name =~ s/scratch.*$//;
  print "<$name>";

I suppose you cannot check it now, but that is the only way to be really
sure.  I would assume a DB problem before an s/// problem.  But since a
reinstall fixed it, maybe your MacPerl app got corrupted somehow; that
seems unlikely, but maybe.  Strange.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch