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 10117 Aug 4, 2002, 10:53 AM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Dafyyd 9857 Aug 4, 2002, 10:59 AM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Paul 9848 Aug 4, 2002, 11:08 AM
Post; hot thread Re: [Paul] Getting list of available values in my (@args) = @_;
Dafyyd 9852 Aug 4, 2002, 11:16 AM
Post; hot thread Re: [Paul] Getting list of available values in my (@args) = @_;
Dafyyd 9912 Aug 4, 2002, 11:21 AM
Thread; hot thread Re: [Paul] Getting list of available values in my (@args) = @_;
Dafyyd 9939 Aug 4, 2002, 11:23 AM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Paul 9872 Aug 4, 2002, 11:42 AM
Thread; hot thread Re: [Paul] Getting list of available values in my (@args) = @_;
Dafyyd 9987 Aug 4, 2002, 12:01 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Dafyyd 9837 Aug 4, 2002, 12:02 PM
Post; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Dafyyd 9933 Aug 4, 2002, 12:04 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Paul 9793 Aug 4, 2002, 12:08 PM
Post; hot thread Re: [Paul] Getting list of available values in my (@args) = @_;
Dafyyd 9802 Aug 4, 2002, 12:11 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Dafyyd 9823 Aug 4, 2002, 12:30 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Dafyyd 9918 Aug 4, 2002, 12:39 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Paul 9830 Aug 4, 2002, 12:59 PM
Post; hot thread Re: [Paul] Getting list of available values in my (@args) = @_;
Dafyyd 9877 Aug 4, 2002, 1:05 PM
Thread; hot thread Re: [Paul] Getting list of available values in my (@args) = @_;
Dafyyd 9874 Aug 4, 2002, 1:10 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Dafyyd 9799 Aug 4, 2002, 1:21 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
yogi 9850 Aug 4, 2002, 1:23 PM
Post; hot thread Re: [yogi] Getting list of available values in my (@args) = @_;
Dafyyd 9804 Aug 4, 2002, 1:47 PM
Post; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
yogi 9820 Aug 4, 2002, 1:21 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
yogi 9911 Aug 4, 2002, 1:00 PM
Post; hot thread Re: [yogi] Getting list of available values in my (@args) = @_;
Dafyyd 9792 Aug 4, 2002, 1:06 PM