Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Running Perl program using backquotes

by sachmet (Scribe)
on Apr 18, 2001 at 02:04 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://73365]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-19 17:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found