>>>>> "B" == BH <> writes:
B> Can someone clarify the 3 terms wrt Perl providing with some examples?
put your question in the BODY of your message. then it reads properly
and it is easier to write replies.
subroutines vs method vs function
subs are perl level routines you code and call.
sub bar {
print "bar was called\n" ;
}
functions are things built into perl. read perldoc perlfunc for a list
and description of them all.
methods are just perl subs that are called via an object or a class
using a object oriented call. read perldoc perlobj for more on that.
uri
--
Uri Guttman ------
--------
http://www.sysarch.com --
----- Perl Architecture, Development, Training, Support, Code Review ------
----------- Search or Offer Perl Jobs -----
http://jobs.perl.org ---------
--------- Gourmet Hot Cocoa Mix ----
http://bestfriendscocoa.com ---------