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

Re: [MacPerl] The S)ubstitute command



At 07.51 -0500 1998.05.31, Mark Manning wrote:
>	I get:
>
>	$a = "This is          ";

I think you are mistaken.

>	When I thought I would get:
>
>	$a = "This is";

Actually, what I get is <This is >.

    #!perl -wl
    $a = "This is my string";
    $a =~ s/my.*$//;
    print "<$a>";

--
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