mjk@atlascgi.comCode:sub subroutineName { my($argument_a, $argument_b) = @_; # where $argument_a & b are just things you pass # the subroutine like &subrotineName("stuff","joe"); }
if i want to add a sub routine how do i do that
mjk@atlascgi.comCode:sub subroutineName { my($argument_a, $argument_b) = @_; # where $argument_a & b are just things you pass # the subroutine like &subrotineName("stuff","joe"); }
cool
now if i add that in how do i call upon it where i need it in my script?
I use
mjk@atlascgi.comCode:&subroutineName("arg1","arg2"); but subroutineName("arg1","arg2"); will work too
cool i got it to work how i wanted thanx
Bookmarks