Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Perl 6, difference between ':=' and '='

by DrWhy (Chaplain)
on Aug 12, 2010 at 23:24 UTC ( [id://854787]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl 6, difference between ':=' and '='
in thread Perl 6, differrence between ':=' and '='

I always understood it as closer to typeglob aliasing in Perl 5 rather than perl 5 style references. i.e.:
# perl 6 $x := $y; # ~= perl 5 *x = \$y;

--DrWhy

"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."

Replies are listed 'Best First'.
Re^3: Perl 6, difference between ':=' and '='
by chromatic (Archbishop) on Aug 13, 2010 at 04:12 UTC

    That's the best way to think of it, but I didn't want to explain typeglobs.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2025-03-16 12:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (54 votes). Check out past polls.