[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
|