CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Win32 Programming Help:
proper config for using Win32



Oct 29, 2000, 6:03 PM

Post #1 of 2 (6772 views)
proper config for using Win32 Can't Post

                   Newbie question here. Bought the book "Learning Perl on Win32 Systems" , and d/l'ed ActiveState Perl and ran install. Updated path. Perl works.

How is the Windows 2000 system supposed to be configured to use the Win32 Extension ??

with following script ( pg 118).
use Win32;
$longname = 'words.secret';
$shortname = Win32::GetShortPathName($longname);
print ("shortname is: ", $shortname);

problem is the $shortname is always undefined.

1. what module, extension, file do I need for Win32 extensions?
2. what directory is the module, extension, file that I need supposed to be in.
3. is there futher system configuration I need to make, or define a system variable?




Sep 8, 2001, 9:56 PM

Post #2 of 2 (6704 views)
Re: proper config for using Win32 [In reply to] Can't Post

The Win32::GetShortPathName will try to examine if a given path exists in your directory so given a path like word.secret unless this directory does exist in you disk, it won't print.


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives