Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Creating bash functions using perls $ENV interface

by tid (Beadle)
on Oct 30, 2003 at 00:20 UTC ( #303155=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!perl -w 
    $CYGWIN_BIN="C:\\cygwin\\bin";
    $ENV{TEST_FUNC} = "() {\necho Hey, it works!;\n };\n";
    system(("$CYGWIN_BIN\\bash.exe", "-c \"declare -f\""));
    system(("$CYGWIN_BIN\\bash.exe", "-c \"TEST_FUNC\""));
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-08-29 02:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls