Ticket #193 (closed defect: fixed)
warnings printed on console by Perl6 parser
| Reported by: | szabgab | Owned by: | azawawi |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | plugins | Version: | 0.22 |
| Keywords: | perl6 | Cc: |
Description
given the following perl 5 code
my $x; $x = defined $x ? $x : 'DEFAULT VALUE'; print "$x\n"; # DEFAULT VALUE
and trying to use it as perl 6 code I get the correct warning
but it is on the console instead of the output window
(or maybe also in the error window)
STD.pm Parsing error ############# PARSE FAILED ############# Obsolete use of ?: for the conditional operator; in Perl 6 please use ??!! instead at (eval) line 6: ------> $x = defined $x ? $x : 'DEFAULT VALUE';
Change History
Note: See
TracTickets for help on using
tickets.
