Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Perl6 Late variable declaration allowed?

by moritz (Cardinal)
on Nov 01, 2011 at 20:22 UTC ( #935209=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -Mstrict -wE 'sub f { say eval q[$x] }; my $x = 5; f'
    Use of uninitialized value in say at -e line 1.
    ...
    $ perl6 -e 'sub f { say eval q[$x] }; my $x = 5; f'
    5
    $
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://935209]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2021-05-08 00:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (95 votes). Check out past polls.

    Notices?