Connecting Tech Pros Worldwide Help | Site Map

perl

  #1  
Old July 30th, 2007, 06:55 PM
Bill Cunningham
Guest
 
Posts: n/a
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.

Bill


  #2  
Old July 31st, 2007, 06:15 PM
Jim Gibson
Guest
 
Posts: n/a

re: perl


In article <Lypri.5309$FO1.1206@trnddc05>, Bill Cunningham
<nospam@nspam.comwrote:
Quote:
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
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Upload Files using the CGI.pm Module and Perl KevinADC insights 17 February 3rd, 2009 03:53 AM
Perl DBI/XML processing versus PHP ? surfivor answers 6 March 16th, 2007 04:45 AM
Perl-1.0.0 Otto J. Makela answers 13 July 7th, 2006 08:35 PM
compiling perl 5.8.7 on Solaris 8 Kirt Loki Dankmyer answers 0 November 22nd, 2005 04:05 AM
Python versus Perl ? surfunbear@yahoo.com answers 31 July 18th, 2005 10:28 PM