Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Testing redirected croak messages

by macrobat (Beadle)
on Oct 28, 2005 at 00:02 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-03-29 06:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found