Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Getting list of available values in my (@args) = @_;

Quote Reply
Getting list of available values in my (@args) = @_;
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.

Last edited by:

giovanni: Aug 4, 2002, 10:55 AM
Subject Author Views Date
Thread; hot thread Getting list of available values in my (@args) = @_; Dafyyd 10109 Aug 4, 2002, 10:53 AM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Dafyyd 9850 Aug 4, 2002, 10:59 AM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Paul 9841 Aug 4, 2002, 11:08 AM
Post; hot thread Re: [Paul] Getting list of available values in my (@args) = @_;
Dafyyd 9845 Aug 4, 2002, 11:16 AM
Post; hot thread Re: [Paul] Getting list of available values in my (@args) = @_;
Dafyyd 9905 Aug 4, 2002, 11:21 AM
Thread; hot thread Re: [Paul] Getting list of available values in my (@args) = @_;
Dafyyd 9932 Aug 4, 2002, 11:23 AM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Paul 9865 Aug 4, 2002, 11:42 AM
Thread; hot thread Re: [Paul] Getting list of available values in my (@args) = @_;
Dafyyd 9980 Aug 4, 2002, 12:01 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Dafyyd 9830 Aug 4, 2002, 12:02 PM
Post; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Dafyyd 9926 Aug 4, 2002, 12:04 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Paul 9786 Aug 4, 2002, 12:08 PM
Post; hot thread Re: [Paul] Getting list of available values in my (@args) = @_;
Dafyyd 9795 Aug 4, 2002, 12:11 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Dafyyd 9816 Aug 4, 2002, 12:30 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Dafyyd 9911 Aug 4, 2002, 12:39 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Paul 9823 Aug 4, 2002, 12:59 PM
Post; hot thread Re: [Paul] Getting list of available values in my (@args) = @_;
Dafyyd 9870 Aug 4, 2002, 1:05 PM
Thread; hot thread Re: [Paul] Getting list of available values in my (@args) = @_;
Dafyyd 9867 Aug 4, 2002, 1:10 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Dafyyd 9792 Aug 4, 2002, 1:21 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
yogi 9843 Aug 4, 2002, 1:23 PM
Post; hot thread Re: [yogi] Getting list of available values in my (@args) = @_;
Dafyyd 9797 Aug 4, 2002, 1:47 PM
Post; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
yogi 9813 Aug 4, 2002, 1:21 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
yogi 9904 Aug 4, 2002, 1:00 PM
Post; hot thread Re: [yogi] Getting list of available values in my (@args) = @_;
Dafyyd 9785 Aug 4, 2002, 1:06 PM