...

View Full Version : functions



Phil Jackson
01-23-2010, 04:52 PM
Hi, I've been scanning around the net trying to find any tuts on creating functions. Can you not creat functions using perl?

Regards,

Phil

FishMonger
01-23-2010, 07:55 PM
Functions in Perl are called subroutines.

Start by reading the documentation that comes with perl. In this case, that will be:

C:\>perldoc perlsub

or on the net at:
http://perldoc.perl.org/perlsub.html

For the documentation index, see:
C:\>perldoc perl

Phil Jackson
01-23-2010, 08:54 PM
Functions in Perl are called subroutines.

Start by reading the documentation that comes with perl. In this case, that will be:

C:\>perldoc perlsub

or on the net at:
http://perldoc.perl.org/perlsub.html

For the documentation index, see:
C:\>perldoc perl

Thanks some good info. You know where i can get info on returning a http header response from a domain? mainly the code and or location if 301?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum