# New Ticket Created by  H. Merijn Brand 
# Please include the string:  [perl #123887]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=123887 >


Why is the ; required at EOF?

$ perl -lE'say $/'


$ perl -lE'say $\'


$ perl6 -e 'say $/'
Nil
$ perl6 -e 'say $\'
===SORRY!=== Error while compiling -e
Missing semicolon.
at -e:1
------> say $\⏏<EOL>
$ perl6 -e 'say $\;'
===SORRY!=== Error while compiling -e
Unsupported use of $\ variable; in Perl 6 please use the filehandle's .nl 
attribute
at -e:1
------> say $\⏏;


-- 
H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.21   porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/        http://www.test-smoke.org/
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/

Attachment: pgpBxryglKXIZ.pgp
Description: PGP signature

Reply via email to