At the beginning of a plugin hook sub, you can get the args by putting this code in there:
Code
sub user_signup {
# -------------------------------------------------------------------
# This subroutine will get called whenever the hook 'user_signup'
# is run. You should call GT::Plugins->action ( STOP ) if you don't
# want the regular code to run, otherwise the code will continue as
# normal.
#
my (@args) = @_
I have no idea what type of data structure this is. Can someone tell me what type of data structure it is and how to print out the list of all the arguements please?
Thanks for your assistance.
Code
sub user_signup {
# -------------------------------------------------------------------
# This subroutine will get called whenever the hook 'user_signup'
# is run. You should call GT::Plugins->action ( STOP ) if you don't
# want the regular code to run, otherwise the code will continue as
# normal.
#
my (@args) = @_
I have no idea what type of data structure this is. Can someone tell me what type of data structure it is and how to print out the list of all the arguements please?
Thanks for your assistance.