Skip Menu |
Report information
Id: 127867
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: alex.jakimenko [at]

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)

Subject: LTA behavior when passing garbage with -M command line option (perl6 -M $'\0')
Download (untitled) / with headers
text/plain 1.1k
Let's pass null byte! Command: perl6 -M $'\0' -e 'say 42' Result: ===SORRY!=== Cannot iterate object with P6opaque representation Let's pass backspace! Command: perl6 -M $'\b\b\b\b' -e 'say 42' Result: ===SORRY!=== Could not f in: /home/alex/.perl6/2015.12-344-gbc4c6df /home/alex/.rakudobrew/moar-nom/install/share/perl6/site /home/alex/.rakudobrew/moar-nom/install/share/perl6/vendor /home/alex/.rakudobrew/moar-nom/install/share/perl6 CompUnit::Repository::AbsolutePath<-157280344> CompUnit::Repository::NQP<-157281880> CompUnit::Repository::Perl5<-157283320> (Notice “Could not f in:”) Let's pass newlines! Command: perl6 -M $'\n\n\n\n' -e 'say 42' Result: ===SORRY!=== Could not find in: /home/alex/.perl6/2015.12-344-gbc4c6df /home/alex/.rakudobrew/moar-nom/install/share/perl6/site /home/alex/.rakudobrew/moar-nom/install/share/perl6/vendor /home/alex/.rakudobrew/moar-nom/install/share/perl6 CompUnit::Repository::AbsolutePath<-156760152> CompUnit::Repository::NQP<-156761688> CompUnit::Repository::Perl5<-156763128> What the hell am I doing? Dunno, but it could handle these things more gracefully.
Download (untitled) / with headers
text/plain 435b
This actually affects pretty much all exceptions that use variables: $ perl6 -e ' ."\b\b\b\b\b\bth is bad for yo"()' Meth is bad for yo' not found for invocant of class 'Any' in block <unit> at -e line 1 Should we quote them all or leave this?

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at