shelling out? - uname
mwk at straytoaster.co.uk
Fri Dec 8 14:16:16 GMT 2006
On Fri, Dec 08, 2006 at 02:02:02PM -0000, Russ Hogge wrote:
> Is there a good method of returning uname within perl. I need to test if
> my script is running on Linux or Solaris, and suspect that there is a
> module that would tell me this information is a sane manner.
Wouldn't $^O do it?
http://weblog.straytoaster.co.uk/ # Gotta have a weblog. It is the law.
http://www.flickr.com/photos/straytoaster # All the cool kids have photostreams
More information about the london.pm