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

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

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



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Cubitt wrote:
| 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

You sure you wanna use perl.. or is it php ??
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+6EWxlv1SOAlzgHoRAv+6AKCTJe60CqRbEXZ9GEuMagpXX0OcMACgkV0E
5w7LF1XEylAB038IMpVGzaQ=
=Unsx
-----END PGP SIGNATURE-----


-- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.


Lynx friendly