Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Re: Sub-initiate needs help getting started

by CombatSquirrel (Hermit)
on Aug 27, 2003 at 14:36 UTC ( [id://287052]=note: print w/replies, xml ) Need Help??


in reply to Re: Sub-initiate needs help getting started
in thread Sub-initiate needs help getting started

Okay, to question (a):
  • module: A file (*.pm) that contains one or more packages
  • package: The Perl equivalent of a C namespace; encapsulates subroutines or objects
  • script: A program, so to speak. Just that it is not executed, but interpreted by the Perl interpreter
  • subroutine: You could call it a procedure or a function. It is declared with sub blabla { ... and does the stuff you tell it to do
  • function: Does not really exist in Perl, but would be (if you think Pascal), a sub that returns a value. Just understand it as sub

To (b): I think there is a way, but I could not get it working :/. Hope the others have ideas...
Hope this helped anyways.
CombatSquirrel.
Entropy is the tendency of everything going to hell.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://287052]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-20 16:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found