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

Re: Class::Struct, Class::Contract and type Safety

by Crulx (Monk)
on Feb 14, 2001 at 21:17 UTC ( [id://58391]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    package FunkyNum;
    ...
           return ${self->val};
         }
    };
    
  2. or download this
    
    use strict;
    ...
    $x->plusequal(("woah", "there", "fella"));
    print "num is " . $x->printval . "\n";
    $x->nomethod;
    
  3. or download this
    pre   { ref $_[0] && $_[0]->isa("FunkyNum") };
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-18 20:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found