Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Hard references and symbolic references

by ccn (Vicar)
on Oct 01, 2009 at 18:47 UTC ( #798708=note: print w/replies, xml ) Need Help??


in reply to Hard references and symbolic references

If you are asking about references in Perl than look at
  • Comment on Re: Hard references and symbolic references

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://798708]
help
Chatterbox?
[Discipulus]: in other words: i have a contructor that carps on missing arguments and I want to test that it fails correctly, without carping out in the test output
[Corion]: Discipulus: I usually redefine carp to be something that logs the error message... Maybe my $old_carp = \&Carp::carp; { no warnings 'redefine'; sub Carp::carp = sub { push @caught, [caller(), \@_]; die }
[Discipulus]: ah! just in the test Corion? reading this too

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2018-01-22 11:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (233 votes). Check out past polls.

    Notices?