By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,732 Members | 1,429 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,732 IT Pros & Developers. It's quick & easy.

perl

P: 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
Jul 30 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
In article <Lypri.5309$FO1.1206@trnddc05>, Bill Cunningham
<no****@nspam.comwrote:
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
Jul 31 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.