Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Running Perl program using backquotes

by sachmet (Scribe)
on Apr 18, 2001 at 02:04 UTC ( #73365=note: print w/replies, xml ) Need Help??


in reply to Running Perl program using backquotes

<chant>without code samples it's hard to say </chant>

That said, Program B likely expects an argument to the -t switch, and is using filetoprocess for that. Check that -t requires no additional arguments that would gobble up the filetoprocess argument.

The described behavior would happen if you had a <> in your program somewhere, and in ProgramB.cgi you were shifting off two elements of @ARGV based on the -t switch.

Replies are listed 'Best First'.
Re: Re: Running Perl program using backquotes
by nysus (Parson) on Apr 18, 2001 at 02:16 UTC
    Brother, thanks for your patience...this was exactly what was happening. Slowly but surely, I'll get all this figured out.

    $PM = "Perl Monks'";
    $MCF = "Most Clueless Friar";
    $nysus = $PM . $MCF;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2021-04-20 13:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?