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

Tie Me Up, Tie Me Down

by Zaxo (Archbishop)
on Jan 14, 2005 at 04:43 UTC ( [id://422156]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Tie::Constrained;
  2. or download this
    use Errno qw/EINVAL EDOM ERANGE/;
    
    sub TIESCALAR {
    ...
    
    1;
    __DATA__
    
  3. or download this
    Usage:
        use Tie::Constrained;
        tie my $var, Tie::Constrained => \&mytest, $initval;
    ...
    Both arguments are optional, but the default validator
    function always says yes.  mytest() should be designed
    to return true for valid data and false for data to reject.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://422156]
Approved by talexb
Front-paged by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-24 20:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found