D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] Perl "system or exec" commands into a var



is there a way I can execute a command with perl and put the output into a variable, I'm guessing this is quite easy but I can't find how to achive this.
 
if it help the command i want to run is "php phpscript.php".
 
thanks in advance
 
regards
 
Mark Cubitt

Lynx friendly