Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: annotation, derivation

by tobyink (Canon)
on Feb 17, 2012 at 10:18 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://954495]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-03-28 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found