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

Re^2: OO Perl Usage

by ForgotPasswordAgain (Deacon)
on Dec 05, 2012 at 20:58 UTC ( #1007395=note: print w/replies, xml ) Need Help??


in reply to Re: OO Perl Usage
in thread OO Perl Usage

Your disclaimer of tending to quick hacks points to another possibility: of Perl devs dealing with XML, many probably don't bother with an XML package.

Replies are listed 'Best First'.
Re^3: OO Perl Usage
by roboticus (Chancellor) on Dec 06, 2012 at 00:10 UTC

    ForgotPasswordAgain:

    Good point ... especially as evidenced by some questions on parsing XML with regexes...

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1007395]
help
Chatterbox?
[Discipulus]: Eily i'm testing a failure: i ok if i get bad results.. perhaps there is another way to do it...
[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 }

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










    Results (233 votes). Check out past polls.

    Notices?