Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

hello world for visual perl, help!

Posted on 2005-04-19
6
Medium Priority
?
225 Views
Last Modified: 2013-11-14
Hello,

 I just installed Visual Perl in the .NET environment and cannot get even the most basic thing to work.

 I want the following hello world code to work:

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

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

 which is an automatically loaded file for a newbie like me. It should just *work* without anything going wrong.

 in my case, 'use namespace "System"'; is underlined red and throws an error. This is such a basic thing that I am confused...why wouldn't it work from the get-go?

 furthermore, i know so little about .NET that I am not sure how to diagnose this problem. any help would be greatly appreciated!

Thanks,

sapbucket
0
Comment
Question by:sapbucket
  • 3
5 Comments
 
LVL 1

Expert Comment

by:ranganathan_gp
ID: 13821540
The code written by u are Exactly correct ,
FYI,u can Verify the installation of visual Perl with .net

http://wdvl.internet.com/Reviews/Scripting/VisualPerl/
http://wdvl.internet.com/Reviews/Scripting/VisualPerl/visualPerl2.html

regards

Ranganathan.p
0
 
LVL 3

Author Comment

by:sapbucket
ID: 13821649
it turns out the installation of the perl dev kit (PDK) from activestate did not load plc.exe into c:\perl\bin. I'm not sure why - you would think the .msi installer would have performed the task for me.
0
 
LVL 3

Author Comment

by:sapbucket
ID: 13847446
the solution is: purchase and install the PDK from activestate BEFORE you install visual perl. Only then will you avoid an avalanche of install errors.

i answered myself, please close this question with zero points, thanks mod.

sapbucket
0
 
LVL 3

Author Comment

by:sapbucket
ID: 14099669
Follow up:

ActiveState does not support the newer Visual Studio releases. That means your code will not work. At all. Not even hello world.

My advice: don't buy it!
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 14291806
PAQed with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Loops Section Overview

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question