Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Re: RFC - Parameter Objects

by Corion (Patriarch)
on May 14, 2003 at 19:10 UTC ( [id://258211]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      my $ratio = Sub::ParamObject->new({
        nominator   => qr/^[-+]?\d+$/,
    ...
      # and (only) the corresponding field set.
      $source->selector('filename')->filename('foo.txt'); # works
      $source->filename('foo.txt')->selector('filename'); # cannot in my i
    +mplementation
    
  2. or download this
    perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ;    # The  
    $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider
    ($c = $d->accept())->get_request(); $c->send_response( new   #in the
    HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' #  web
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-06-14 12:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.