[comp.lang.perl] perl buglet

phillips@cs.ubc.ca (George Phillips) (10/06/90)

Here's a little perl script and the error it produces:

#!/usr/bin/perl
$_="a\n";
s/^a//;
s/a$//;

panic: hint in do_match at - line 4. 

--
George Phillips phillips@cs.ubc.ca {alberta,uw-beaver,uunet}!ubc-cs!phillips

lwall@jpl-devvax.JPL.NASA.GOV (Larry Wall) (10/06/90)

In article <9890@ubc-cs.UUCP> phillips@cs.ubc.ca (George Phillips) writes:
: Here's a little perl script and the error it produces:
: 
: #!/usr/bin/perl
: $_="a\n";
: s/^a//;
: s/a$//;
: 
: panic: hint in do_match at - line 4. 

Already fixed, but thanks anyway.

Larry