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] not importing namespace "System"
by Tom Humphrey other posts by this author
Apr 19 2005 7:46PM messages near this date
view in the new Beta List Site
[Visualperl-discuss] Visual Perl will not build Perl Script | RE: [Visualperl-discuss] not importing namespace "System"
I've just installed VS.NET 2003 and Visual Perl. All defaults, no settings 
changed, everything installed in default directories.

I file-> new project->visual perl->managed .exe
i call it HelloWorld

The following code pops up in the code pane (solution loads fine etc.):

------------------------------------------------------
use strict;
use namespace "System";
use PerlNET qw(AUTOCALL);

Console-> WriteLine("Hello, World.\n");
-------------------------------------------------------


' use namespace "System"; ' is underlined red and throws a compilation 
error.

In the solution explorer i expand 'references' and see the System.dll is 
there, as it should be, the only dll automatically loaded.

Why am I getting this error? Please help! I am stuck at the mercy of this 
pathetic error; it is so basic that I cannot even figure out how to diagnose 
it.

Best Regards,

Tom Humphrey


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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved