Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 examining the Monastery: (7)
As of 2024-03-28 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found