Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^9: Introspecting function signatures (Dependency Injection and Monkey Patching)

by eyepopslikeamosquito (Archbishop)
on Mar 08, 2021 at 00:32 UTC ( [id://11129302]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub fetch
    {
    ...
        my $resp         = $ua->get( $uri );
        ...
    }
    
  2. or download this
    use Moose;
    has 'ua', is => 'ro', default => sub { LWP::UserAgent->new };
    ...
    
        ...
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-16 04:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found