Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Interesting WTDI

by leriksen (Curate)
on Nov 09, 2004 at 07:09 UTC ( #406292=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (<DATA>) { # get a line of POD
      if (/^=item\s+(LDAP_\S+)\s+\((.*)\)/) {# look for a POD line of =ite
    +m LDAP_<constant> (<value>)
        $const{$name} = sub () { $value }; # set the constant from what wa
    +s in the POD !!!
      }
    }
    
  2. or download this
    sub fake_module
    {
            my ($class, $modname, %subs) = @_; # replace methods  in $modn
    +ame with those in %subs
    ...
                    *{ $module . '::' . $sub } = $subs{ $sub }; # store th
    +e provided implementation in the symbol table
            }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://406292]
Approved by kvale
Front-paged by Courage
help
Chatterbox?
[Corion]: The sad thing is that my script sits at the end of the pipeline and can only look at the payments due today or tomorrow basically, while there are many more systems further up in the pipeline
[GotToBTru]: better late than never, I guess
[Corion]: GotToBTru: Sure - there is a long and sad story of many frantic cleanups that led us to implement this notification ;)

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2017-03-29 11:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (347 votes). Check out past polls.