Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: How to use a private version of a published module?

by stevieb (Canon)
on Jun 18, 2021 at 18:22 UTC ( [id://11134014]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package A;
    
    ...
        return $b->call_rest_client;
    }
    1;
    
  2. or download this
    package B;
    
    ...
        return $client->responseContent;
    }
    1;
    
  3. or download this
    use warnings;
    use strict;
    ...
    say "After mocking REST::Client->responseContent:\n";
    
    say $obj->call_b;
    
  4. or download this
    Before mocking REST::Client->responseContent:
    
    ...
    After mocking REST::Client->responseContent:
    
    {"a": 1, "b": 2}
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-03-29 13:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found