Paul,

It lists me out the operating system name thanks for the same. How can i go
about getting the different drives/volumes created on the same...

Regards
Mazhar

On 4/25/06, Paul D. Kraus <[EMAIL PROTECTED]> wrote:
>
>
>
> On 4/25/06, Mazhar <[EMAIL PROTECTED]> wrote:
> >
> > Hi Folks,
> >
> > I need to develop a script where in i need to first check the type of OS
> > and
> > then go about in finding the drives.
>
>
>
>
> [EMAIL PROTECTED]:~$ cat testperl.pl && perl testperl.pl
> print "OS:$^O\n";
> OS:linux
> *$^O*
>
>  The name of the operating system under which this copy of Perl was built,
> as determined during the configuration process. The value is identical to
> $Config{'osname'}.
> http://www.perl.com/doc/manual/html/pod/perlvar.html
>
> HTH,
> Paul
>

Reply via email to