Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Is it worth using Monads in Perl ? and what the Monads are ?

by rootcho (Pilgrim)
on Jun 10, 2007 at 23:43 UTC ( [id://620386]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub bind {
      my ($callback, @args) = @_;
      $callback->(@args);    
    }
    
  2. or download this
    bind(\&debug, "Entering xxx()");
    ...
    bind(\&logit, "Username : $user logged in")
    ... and so on...
    
  3. or download this
    sub bind {
      my $monad = shift;#self
    ...
    ...
    $monad->bind(\&logit, "Username : $user logged in")
    ... and so on...
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (1)
As of 2024-04-25 19:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found