I want to get the full computer name using the ActiveState Perl on windows .
Actually i can get that using the "hostname" command, but i want to have the output of the "hostname" command stored in some variable using perl. And i wan to use that variable in my script.
Is it possibel to write a script which will store the return value of the command executed on the command prompt and how ???
Kindly help
Actually i can get that using the "hostname" command, but i want to have the output of the "hostname" command stored in some variable using perl. And i wan to use that variable in my script.
Is it possibel to write a script which will store the return value of the command executed on the command prompt and how ???
Kindly help
Comment