in reply to Using Exec command with parameters

Hi,

Could you post the code please? It would help us to understand the problem a little better.

However, passing $p1, $p2 in a single quoted string will never work because the variables will never be expanded to their real values. Try to use double quotes and use a syntax like:

exec '/bin/echo', 'Your arguments are: ', @ARGV;
--
if ( 1 ) { $postman->ring() for (1..2); }