Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Redirecting STDOUT from internal function with 5.6.1 restrictions

by mgc (Novice)
on Oct 12, 2004 at 16:53 UTC ( #398587=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Works with 5.8 only!
    sub ok_test_wrapper($@) {
      my ($desc,@params) = @_;
    ...
      return;
    }
    sub ok($;$$) { ok_test_wrapper("$_[[1]]",$_[[0]]); }
    
  2. or download this
    # Hack
    sub ok_test_wrapper($@) {
      my ($desc,@params) = @_;
    ...
      print "$tmp - $desc\n";
      return;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://398587]
Approved by Jenda
Front-paged by diotalevi
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2014-12-22 08:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (112 votes), past polls