Re: perl



In article <Lypri.5309$FO1.1206@trnddc05>, Bill Cunningham
<nospam@xxxxxxxxx> wrote:

Now what is the difference in perl programs and perl modules? I see ::
alot. This is coming from a guy who taught himself Basic at around 15 yo and
left interpreters after that. Now the only translators I really use are
compilers. Hince I then went to C++ and then to C and I have pretty much
stuck there. But I have been reading about Perl and it seems to have a nice
flow to it. It might be easier to learn than C is for me. C++ ? No problem.
Basic? No problem. C ? Confusing. The language I really want to learn. I
think.

Can someone give me a quick rundown on perl ? What kind of translators
does it run on? What are perl scripts and modules.

Perl programs are stand-alone scripts. Perl modules are packages that
can be used by other Perl programs (or modules). The '::' is the
package::variable syntax. The variable $x, if declared inside package P
may be accessed as $P::x outside of package P. See 'perldoc perlmod'
for how to use and create Perl modules.

Perl runs on many systems. The current version does not use external
translators (I am not sure what you are asking here). Perl has a
built-in compiler that translates the source code to an internal form,
then executes that using its built-in interpreter.

I recommend a good book for learning Perl. You should also consult
'perldoc perlfaq2' "Obtaining and Learning about Perl".

FYI: this newsgroup is defunct. Try comp.lang.perl.misc in the future.

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
.



Relevant Pages

  • perl
    ... Now what is the difference in perl programs and perl modules? ... This is coming from a guy who taught himself Basic at around 15 yo and ... Now the only translators I really use are ...
    (comp.lang.perl)
  • DBD module loading problem
    ... Objective - execute perl modules from apache that access an oracle database ... Apache server - RHAS 4.0, ... Perl Version ...
    (perl.dbi.users)
  • RE: Hi, how to extract five texts on each side of an URI? I post my own perl script and its use.
    ... Chakrabarti placed relevance on distance from the link. ... changed your report to reflect this relevance. ... Here you will find All Things Perl. ... -1: Perl modules ...
    (perl.beginners)
  • Re: Management of Enterprise Computing
    ... i> I have been tasked to create a system for managing enterprise ... i> We are going to use 'perl' for this and I would like to know what ... i> computers at once, watching for stuff, etc. ... for which perl modules support an enterprise management system is ...
    (comp.lang.perl.misc)
  • Re: can perl modules be used by various versions of perl?
    ... In the application I use several PERL modules. ... Garey Mills ... sysadmins don't usually try that trick;-> ...
    (comp.lang.perl.misc)