Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^4: Perl 6: Static/Dynamic Strong/Weak Type Systems

by dragonchild (Archbishop)
on Apr 16, 2006 at 22:50 UTC ( [id://543721]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Perl 6: Static/Dynamic Strong/Weak Type Systems
in thread Perl 6: Static/Dynamic Strong/Weak Type Systems

Fair enough. For those who don't follow, the "hole" is that whenever an explicit glob is the RHS of an assignment, the member of the glob matching the LHS will be substituted. This is because a glob is both a type and a collection of types.

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

Replies are listed 'Best First'.
Re^5: Perl 6: Static/Dynamic Strong/Weak Type Systems
by salva (Canon) on Apr 16, 2006 at 22:59 UTC
    no, no, what I wanted to show is that when a glob ia assigned to a scalar, the scalar becomes a glob!

    After

    $foo = *foo
    $foo is a glob!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-03-29 12:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found