Help for this page

Select Code to Download


  1. or download this
        sub do_something_with_a_uri {
            my $self = shift;
            my $uri = shift || die "uri is required";
    ...
            # You have to work out how to keep the JSON/Env stuff.
            $self->$method($uri);
        }
    
  2. or download this
    my @methods = qw/ get post response /; # Used by Env/GlipGlop.
    
    package Env {
    ...
    Example Domain
    moo@cow~>perl pm-1142751 "http://perlmonks.org/?node_id=1142751"
    Better syntax for dynamic method on internal object ?