Windows

Problem with perl path

Hi !

When I execute the command set in the command invit, I'm having 2 path for perl

C:\Perl64\site\bin;C:\Perl64\bin AND C:\Perl\site\bin;C:\Perl\bin

Could you please tell me what it is and how to erase the last one please !

where to find unbundled 64 bit versions perl512.lib and perl512.dll ?

I have some applications written in C++ (VisualStudio 6) on Windows XP, using perlembed (linked against perlxxx.lib, distributed with perlxxx.dll)
now I need to rewrite my app at 64 bit and I would need to link to 64 bit version of the library, but I need it without installing 64 bit ActiveState Perl, is it available a zip version so I can extract lib and dll as libraries for a cross compilation ?

TIA

Carlo

P.S.
of course I will recompile at 64 bit with VS 2005

HTML::HeadParser

hi,

I get the following error when I use a script on a Windows Server with ActivePerl.

X-Died: Can not locate object method "new" via package "HTML :: HeadParser" at C :/ usr / lib / HTML / HeadParser.pm 114th line

Anyone have an idea or a solution to the problem?

MSVC100.DLL error using Perl App 9.1.1.0

I recently upgraded from Perl Dev 9.0.1 to 9.1.1. When i recompiled my application it is aborting right away with an error cannot find MSVC100.DLL. Does the new Perl Dev Kit require Visual C runtime 10.x on all the systems your compiled application runs on?

Python Editor ??

I will be learning and teaching Python, with teenagers using Windows laptops.

What editor do you recommend?

I have used UltraEdit with Perl and I understand that the new release has a Python formatting function. However, UltraEdit costs $60.00.

Is there a better place to post this message?

Suggestions ?

Harry

Is tk::EntrySet dead?

I have a Perl script written a couple years ago that uses the tk::EntrySet package. With a new computer, I downloaded/installed ActivePerl but this package didn't appear as available in PPM. Looking around, I found that this package has build failures after Perl 5.10 ( http://code.activestate.com/ppm/Tk-EntrySet/ ). Is this package no longer supported? Is the only alternative re-writing the script or pay for a commercial license in order to get the 5.10 download?

Elevating .exe files automatically

Can't seem to find any .. working method online to automatically elevate .exe files made with PDK, so here's one in case anyone is in need. A better method WOULD be nice though, in case anyone knows of one..

Anyways, here's how:
1: Get the attached zip file, it contains the files mentioned below.
(http://community.activestate.com/files/elevate.zip)

2: Create a new .perlapp for perlexe.pl file, or open perlexe.pl in komodo and launch perlapp from there..

3: Add elevate.cmd and elevate.vbs (courtesy of Microsoft..) as bound files with Automatic at startup (extract) checked.

4: Add your ACTUAL program as a bound file. This would be a separate.exe file you'd want to run as administrator, e.g. prog.exe. Auto extract checked as in step 3.
You should also select "hide console (gui executeable)" in the options 2 tab, and anything else you'd need.

5: Change the system("elevate prog.exe") line in perlapp.pl to match your program, e.g. to yourprog.exe..

6: Add any icon sources if needed, e.g. the same icon you use for you ACTUAL program so it looks like it's the 'same file'.

7: Run perlapp (Click "make executeable"..). The resulting exe file contains your actual program, the elevate.cmd/vbs files, and will run your program as administrator.

perl exe created using perlapp gives error connecting to secure site

An example is given below...

use WWW::Mechanize;
use HTTP::Cookies;
my $outfile = "out.txt";
my $url = "https://mail.yahoo.com/";
my $username = "your_email_username_here";
my $password = "your_account_password_here";
my $mech = WWW::Mechanize->new();
$mech->cookie_jar(HTTP::Cookies->new());
$mech->get($url);
$mech->form_name('login_form');
$mech->field(login => $username);
$mech->field(passwd => $password);
$mech->click();
my $output_page = $mech->content();
open(OUTFILE, ">$outfile");
print OUTFILE "$output_page";
close(OUTFILE);

Perl Tkx: Is Tkx the GUI we should be uising?

Against
1. No GUI builder in Komodo. Guibuilder out of date.
2. No active Tkx community answering simple questions about Tkx.
3. No Perl::tk to Perl::Tkx conversion programs.
4. Not many Tkx modules.

Pros.
1. Very nice look and feel of output on windows.
2. Nice Perl like syntax.

Cheers to tkdocs for at least a little documentation on Tkx.

logicall error occurred when running in other machine

This is perl coding, running fine in my machine where written and convert exe, but while running in other machine, getting logical error. is sendkeys is not good program method?

use Win32::GuiTest qw(:ALL);

sub OpenFont { "^o"; } # l10n

# Let's see notepad
system("start Acrobat.exe");
sleep 1;
my $data_file=$ARGV[0];
if (-f $data_file) {
# Open the Font dialog
SendKeys(OpenFont);
SendKeys($data_file);
SendKeys("~");
SendKeys("%An~~y~");
SendKeys("^w");
SendKeys("^w");
}
if (-d $data_file) {
$dirname = $ARGV[0];