try 

system (/bin/somecommand $variable);

or even  

`somecommand $variable`;

-----Original Message-----
From: Alen Sarkinovic [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 2:11 PM
To: [EMAIL PROTECTED]
Subject: need code


Hi
Can anybody send me code of perl that will take input from web and execute
Unix command ,I mean SYSTEM(/bin/somecommand $variable)

I have try everything but still  not able to execute from web ,everything
goes fine from command line :perl -T script.pl variable=blabla 

Reply via email to