Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: Using Sub::Override

by chromatic (Archbishop)
on Jun 19, 2007 at 06:22 UTC ( [id://621951]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Using Sub::Override
in thread Using Sub::Override

I don't have enough information to help you then. Your code has baffled me; I have no idea why you would override out() to return a variable when you call it in void context, and I can't see what you would get from not mocking in(), which presumably prompts for input. I never prompt for input in any of my automated tests.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2026-04-17 21:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.