ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> visualperl-discuss
visualperl-discuss
[Visualperl-discuss] remote debugger gives error and 'use' is not working
by Tom Humphrey other posts by this author
Apr 15 2005 12:25AM messages near this date
view in the new Beta List Site
Re: [Visualperl-discuss] cannot view reference in object browser | Re: [Visualperl-discuss] remote debugger gives error and 'use' is not working
Hello,

  I have been programming with Komodo for the past few years and just 
recently purchased Visual Perl. I would like some assistance with getting my 
hello world program to run smoothly. This script runs perfectly from Komodo.

Here is my simple script:

#!/usr/bin/perl -w
use strict;
BEGIN {push(@INC, "c:\\foo\\bar");}
#use Foobar; # Foobar.pm exists in c:\foo\bar, so why the compile error?
require Foobar;
print "Hello World!\n";


1. Error messages that popup when I run the script: (I have no idea what 
these are but I definitely do not want remote debugging (or at least I don't 
think I do - am i missing a design concept here?)).

"Waiting for the Perl debugger session to start, at port 3000. Please press 
the Cancel button to stop waiting."

"Attaching the Visual Perl DE debugger to process '[2944] 
sl_perl_debugger.exe' on machine 'PAVILION' falied. Error code 0x80004005."

2. When 'use' is in effect it gives a compile error. 'require' works just 
fine. How can I get 'use' statements to work? I do not want 'require'.

3. I noticed that I can set the @INC variable in 
project-> properties->configuration properties->perl options. I can still do 
it the old-fashioned way right? Well, either way I get an error with my 
'use' statement.

4. when it prints "Hello World" to a console, the console pops up for a 
split second and disappears. What is up with that? There isn't a "push 
button to continue" or anything. Also, how can I have the program output go 
to the output pane in the IDE?

5. Getting help! I am sorry if this is not the correct forum to address 
these issues. Please direct me to the proper resources so I can figure this 
stuff out myself.

6. Where can I read up on the differences between a Managed DLL Library 
(isn't that redundant?), a Control Library, a Executable, a Managed Exe, a 
Project, etc. I am not sure how these things operate within the .NET 
framework. What is each one good for? Where is their documentation? 
Unfortunately, http://aspn.activestate.com/ASPN/docs/VisualPerl/manual.html 
and http://aspn.activestate.com/ASPN/docs/VisualPerl/demo.html are not 
satisfying my issues. Any more help?


Thanks a bunch, I appreciate any help I can get.

Regards,

Tom Humphrey


_______________________________________________
VisualPerl-discuss mailing list
VisualPerl-discuss@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Tom Humphrey
Eric Promislow

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved