Li Ngok Lam wrote:
> ----- Original Message -----
> From: "Rob Dixon" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, July 31, 2003 5:44 AM
> Subject: Re: I'm a Nebie to PERL
>
>
> [snap]
> > > > It ran and just listed the contents of the helloworld.pl file.  PERL ran but
> > > > the .pl program didn't.
> > > >
> > > > Any idea how to get this to work?
> > > >
> > >
> > > First, your Perl is not a complete version of Perl. You just have the
> > > compiler of Perl.
> >
> > You can't install 'just the compiler'. The compiler and interpreter are
> > inseperably joined at the hip.
>
> Sorry, I am just trying to focusing on the missing parts, something like
> how to run a perl script without installing Perl... That's not a complete
> Perl.

I've since realised that you meant  'just the compiler/interpreter' without
the standard modules, in which case my comment is wrong. My apologies.

> >
> > > You almostly missed some very important modules such as strict, warnings,
> > > CGI..etc.
> >
> > I doubt that strict.pm or warnings.pm would be missing, and there's no indication
> > of that from what Kenneth says. Besides, CGI is of very little importance outside
> > the web hosting world.
>
> Hmm...... I have Oracle 9.2 too, and I found there no else more modules are
> bundled.

Well if you have the same Oracle installed then you know a lot more than I do! And it 
also
explains why you were suggesting that Kenneth's installation had no starndard stuff. 
But I'm
still surprised if even strict.pm isn't there. Have you done a search for a file 
called 'strict*'
under the /perl directory? If there are no supporting files then what on earth does 
Oracle
install Perl for? It's almost useless for writing programs!

> >
> > > And second, your Perl is out of dated..... for Win32 OS, Perl is up to 5.8.0
> > > now. So go to
> > > http://www.activestate.com/Products/Download/Register.plex?id=ActivePerl
> > > to download the newest, complete version of Perl.
> >
> > Several installations of V4.1 are working fine. Also, reinstalling a later
> > version of Perl in a different place (or even the same place) may well upset
> > Oracle.
> >
>
> My opinion is on the "Hello World" level. The point is no more Oracle, or
> Apache or whatever, but Perl herself. If the simplest perl line can't run
> correctly,
> Whatelse could be on the furture ? Again, that's my opinion. =)

Yes, precisely. And any version of Perl should be able to run a 'Hello World'
program. I was worried that a second installation may upset something
that's currently running. (I like 'Perl herself' by the way!  It seems very
appropriate that Perl is a lady - I'm sure Larry would approve!)

> > > If you use all default settings of Perl, your Perl is installed at C:\Perl.
> > > Also, some parameters (PATH) is stored to Windows too (After
> > > reboot). So to run your script,
> > > just start like :
> >
> > Do you mean the default for the ActiveState version? Anyway there's no
> > reason in general for the installation path to cause problems.
> >
>
> Yes, and Yes, in general.
>
> If one can tell the path or adding path correctly, then no problem in any
> case
> for sure. So, my starting point is for the simplest, defaultest starting.
> Breaking
> down the problem's combinations.

Yes, and I agreed that checking that the Perl executable was on the path
was the right thing to do.

> Sorry if my comments are not Pro enough.

This is a beginners' list, and whatever level you're at I think it helps you to try
to solve other people's proplems: you can learn very quickly that way. My
comments were made only to correct what I saw as possible mistakes in
your post.

> But on the way I starting Perl, unlink Delphi, Turbo C....
> Perl is just looking like an silence army, stand
> by for action, but nothing more is signaled.
> All the way I was trying, was to make
> the "Hello World" get success, at my very beginning start time =)

I like that too - is it a quote from Sun Tzu?  ;-)

I'm still puzzled as to how Kenneth managed to get a listing of his
program out of a Perl command. Let us know how you're getting
on Kenneth, if you're still watching this thread.

Cheers,

Rob






-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to