ActiveState Community

Windows 2000 Pro / Server

SOAP-Lite and subsidiaries

I am using Active Perl and trying to use SOAP-Lite. The most recent message I get is with LWP:

Free to wrong pool 15d43b8 not 80104 at C:/Perl/site/lib/LWP/Protocol/https.pm line 34

This occurs when I actually try to instantiate a SOAP call.

#!perl
use SOAP::Lite
service => 'file:...wsdl';
...
# Send the message
$soap = SOAP::Lite
-> uri('https...')
-> proxy ('https...')
-> $msg_text;

$token_result = $soap-> result;
@results = $soap->paramsout;

HTTP Inspector can not work if the host is 127.0.0.1

I dont know whether it is a bug.

I tried to debug the web program with the HTTP Inspector.
At first it is always blank because I load the site by "127.0.0.1" but I saw requests to some other website(such as goole) will catched correctly.

So I change the url to "localhost", it works!

--
with kind regards

Could I disable some language that I dont need?

I just want to save my computer memory because I must launch editor adn webserver and database server while I develop.

I think the komodo ide load all language support while it start.
Is there option can disable some language I dont need?

with kind regards

Problem with the python auto completion

This problem was descripted by oliver in django user group

The address is http://groups.google.com/group/django-users/browse_thread/thread/8616cc0...

The content is:

Hi i am evaluating komodo as my django/python ide but i can't get the
code completion to work. It gives me this error:

error evaluating 'models' at models.py#4: NameError: global name 'XXX'
is not defined (C:\Prog..\Active..\lib\mozilla\python\komodo
\codintel2\tree_python.py#169 in _members_from_elem) (error
determining completions)

PERL win32::ODBC problem

I have a perl script file fetch1.pl containing following code:


start_reading();
sub start_reading
{
print "Testtable usernames...\n";
use Win32::ODBC;
#$db = new Win32::ODBC( "MyDsn" ) || die "Error: " . Win32::ODBC::Error(); my($db) = new Win32::ODBC("dsn=MyDsn; uid=system; pwd=meta"); $db->Sql("SELECT * FROM test_perl");
while( $db->FetchRow() )
{
my( %Data )= $db->DataHash();
print "User: $Data{USERNAME}\n";
}
$db->Close();
}

When I run this code by doing
perl fetch1.pl

It prints following lines:
Testtable usernames...
User: User1

Newbie question

I D/L Activestate perl and when I try running the sample example.pl it runs fine from the cdommand line by just typing in example.pl, yet I have an script task.pl which I can only get it to run if I type
perl task.pl not just task.pl?

I am a real beginner in Perl so any help appreciated.

Thanks

PerlSvc: Passing a custom callback to a service

Hello all,

I have a scipt I packaged with PerlSvc and it is running great however, I am wondering how do I pass this service a commandline option or custom callback. I have a custom handler for $SIG{USR1} but that is not working. I know that I can do this in C++ but I do not have an idea how to do this in PerlSvc. I have checked out the examples and read the documentation to no avail.

Any ideas?

Thanks,

ME

BTW, I have PerlSvc 6.0.

XSLoader => dll not backward compatible / perlXSTut

I need backward compatibility for my modules (c -function call). But
when generating a Module for example 'mytest' (using h2xs, nmake like specified in perlXStut), the resulted mytest.dll has a dependancy to the dll-file of the current active perl-version (e.g. perl58.dll). So when I want to use the module with earlier perl-versions (e.g. perl 5.6.1), the failure

cannot locate perl58.dll

is consequentially generated.

What can I do?

Thanks for answering

ppm repository for 5.6

I'm trying to use PPM for ActiveState Perl 5.6, and I've tried setting the
repository as specified in the faq
http://aspn.activestate.com/ASPN/docs/ActivePerl-5.6/faq/ActivePerl-faq2...
but "search" returns nothing when I try to use the ActiveState PPM repositories (I've tried the non-ActiveState ones and some of them do work but only have a very small set of modules).
Are the ActiveState repositories listed in the faq correct?

Chris

"<< was unexpected at this time."

Hello all.

I have written a Perl script that works flawlessly with the standard Perl interpeter on Solaris 9, but when I try to run it on a Windows host with ActiveState Perl 5.8.8, it pukes on the usage of the until_EOF trick.

The actual code looks like this:

open(IN,"nsradmin <) {
...
}