************************************************************************************************************************************ This information answers the question of how do you build and install PadWalker. I could not find a concise explanation of how do you build and install this module on any one group. I tried replying to a post asking this exact question but was only able to reply to the original author. I think this information will benifit others that are very new to perl so I am directly posting this information. (I have about 36 hours under my belt now)
I am hoping this will be a benefit to others just trying to install this or any other perl package. Any corrections are comments about this matter will be appreciated. ************************************************************************************************************************************ To Installing PadWalker 1.5 (Active Perl) First download package from http://search.cpan.org/dist/PadWalker/ (1). First you must generate the makefile by running the makefile.pl script perl makefile.pl (2) Secondly you must then build the PadWalker object file by invoking the C make file nmake makefile (3) Thirdly you must create the PadWalker DLL file by invoking the linker link -out:blib\arch\auto\PadWalker\PadWalker.dll -dll -nologo - nodefaultlib -debug -opt:ref,icf -libpath:"C:\perl\lib\CORE" - machine:x86 PadWalker.obj C:\perl\lib\CORE\perl58.lib oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib -def:PadWalker.def (4) Copies and changes the permissions using perl (I am fuzz here) C:\perl\bin\perl.exe -MExtUtils::Command -e chmod 644 PadWalker.bs C:\perl\bin\perl.exe -MExtUtils::Command -e chmod 755 blib\arch\auto \PadWalker\PadWalker.dll C:\perl\bin\perl.exe -MExtUtils::Command -e cp PadWalker.bs blib\arch \auto\PadWalker\PadWalker.bs C:\perl\bin\perl.exe -MExtUtils::Command -e chmod 644 blib\arch\auto \PadWalker\PadWalker.bs (5) Testing the newly compiled DLL (realy cool) C:\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t (6) Mounting the new package (copy) >From \PadWalker-1.5 Copy PadWalker.PM to \perl\lib >From \PadWalker-1.5\blib\arch\auto Copy PadWalker to \Perl\lib\auto\PadWalker Dir \Perl\lib\auto\PadWalker . .. PadWalker.bs PadWalker.dll PadWalker.exp PadWalker.lib (7) Test under perl Run the following perl script #!/usr/bin/env perl BEGIN { require PadWalker } use PadWalker qw( peek_my ); my $x = 1; my $h = peek_my (0); ${$h->{'$x'}}++; print $x; # prints 2 ${$h->{'$x'}}++; print $x; # prints 3 (Some times I get to have more fun the one person should be allowed to have) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/