If you're after system environment variables, have a look at the ENV hash.
For example, to get the current user's home directory on a UNIX host ($HOME in shell) try :
Cheers.#!/usr/bin/perl use strict; use warnings; print $ENV{'HOME'}, "\n";
In reply to Re: System Variables
by BazB
in thread System Variables
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |