Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: annotation, derivation

by tobyink (Abbot)
on Feb 17, 2012 at 10:18 UTC ( #954495=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Scalar::Annotated;
    
    ...
    }
    
    __PACKAGE__
    
  2. or download this
    use 5.010;
    use strict;
    ...
    say '$quux is now ', $quux;
    say '$quux was calculated as ', $quux->derivation;
    
  3. or download this
    $quux is 2
    $quux was calculated as ((2  (($foo + $bar) - 1)) mod $foo)
    $quux is now 4
    $quux was calculated as ($quux  2)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://954495]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2018-07-20 09:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (427 votes). Check out past polls.

    Notices?