when i run this script from the command prompt it is not working..while i run this script from perlwiz IDE it is working..any clue why it is not working..and i make sure that libwin32 module is installed..iam using activestateperl distribution..please help me..use strict; use warnings; use Win32; my $V_CurrDir; unless ($V_CurrDir = ( Win32::GetFullPathName( Win32::GetLongPathName +( $0 ) ) )[0]) { die "$!"; } print "$V_CurrDir";
Janitored by Arunbear - changed title from 'problem with win32 module' and added code tags
In reply to Current working directory on win32 by kamesh3183
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |