# New Ticket Created by  Paweł Pabian 
# Please include the string:  [perl #77110]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=77110 >


$ perl6 -e '$_ = "0"; s/-/1/;'
Could not find sub &s
  in main program body at line 1

same LTA message is on STD:

[16:08] <bbkr> std: $_ = "0"; s/-/1/;
[16:08] <p6eval> std 31912: OUTPUT«===SORRY!===␤Undeclared 
routine:␤      's' used at line 1␤Check failed␤FAILED 00:01 116m␤»
[16:08] <bbkr> who can explain this one?
[16:08] <moritz_> you need to escape - in a regex
[16:09] <moritz_> and empty regex is disallowed
[16:09] <moritz_> and std used to give good error messages for both, but it's 
borked now
[16:09] <bbkr> moritz_: I know about escaping. but error is LTA in this case.
[16:10] <moritz_> bbkr: not only LTA. It sucks.
[16:10] <moritz_> TimToady: (see above)

Reply via email to