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

Re^2: Testing redirected croak messages

by macrobat (Beadle)
on Oct 28, 2005 at 00:02 UTC ( #503513=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    unlink 'test.errors';
    
    ...
    
    unlink 'test.errors';
    
  2. or download this
    #   Failed test 'lcroak writes to the error file specified by redirect
    +_error().'
    t/lcroak....NOK 4#   in t/lcroak.t at line 25.
    #                   ''
    #     doesn't match '(?-xism:this is a sample error file)'
    # Looks like you failed 1 test of 4.
    
  3. or download this
    {
    local $@;
    ...
    ok($@, "lcroak terminates");
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2023-01-29 18:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?