in reply to Re^5: Installing a config file during module operation
in thread Installing a config file during module operation
I suspect people aren't reading docs for Win32. You have to import the constant. (I'll admit I didn't do that at first, either.)
> perl -MWin32 -le "print Win32::GetFolderPath(CSIDL_LOCAL_APPDATA)" C:\Documents and Settings\DGolden\Desktop > perl -MWin32=CSIDL_LOCAL_APPDATA -le "print Win32::GetFolderPath(CSI +DL_LOCAL_APPDATA)" C:\Documents and Settings\DGolden\Local Settings\Application Data
-xdg
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Installing a config file during module operation
by jkeenan1 (Deacon) on Aug 26, 2005 at 03:08 UTC |