Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Improve pipe open? (redirect hook)

by oiskuu (Hermit)
on Apr 01, 2017 at 21:07 UTC ( #1186696=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    {
        local $SIG{__EXEC__} = \&_do_redirect;
        system ...
    }
    
  2. or download this
    {
        use redirect qw( 3>&1 1>&2 2>&3 3>&- );
        open my $fh, ...;
        `another cmd`;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2022-01-19 18:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (55 votes). Check out past polls.

    Notices?