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

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

by stevieb (Canon)
on Jun 18, 2021 at 18:22 UTC ( #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? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2022-05-17 04:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (65 votes). Check out past polls.

    Notices?