View Full Version : adding sub routines to perl
November 28th, 2000, 09:02
if i want to add a sub routine how do i do that
November 28th, 2000, 10:13
my($argument_a, $argument_b) = @_;
# where $argument_a & b are just things you pass
# the subroutine like &subrotineName("stuff","joe");
November 29th, 2000, 09:24
now if i add that in how do i call upon it where i need it in my script?
November 29th, 2000, 15:51
will work too
December 8th, 2000, 22:07
cool i got it to work how i wanted thanx
Powered by vBulletin® Version 4.1.7 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.