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 10135 Aug 4, 2002, 10:53 AM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Dafyyd 9874 Aug 4, 2002, 10:59 AM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Paul 9865 Aug 4, 2002, 11:08 AM
Post; hot thread Re: [Paul] Getting list of available values in my (@args) = @_;
Dafyyd 9869 Aug 4, 2002, 11:16 AM
Post; hot thread Re: [Paul] Getting list of available values in my (@args) = @_;
Dafyyd 9929 Aug 4, 2002, 11:21 AM
Thread; hot thread Re: [Paul] Getting list of available values in my (@args) = @_;
Dafyyd 9956 Aug 4, 2002, 11:23 AM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Paul 9889 Aug 4, 2002, 11:42 AM
Thread; hot thread Re: [Paul] Getting list of available values in my (@args) = @_;
Dafyyd 10004 Aug 4, 2002, 12:01 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Dafyyd 9854 Aug 4, 2002, 12:02 PM
Post; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Dafyyd 9950 Aug 4, 2002, 12:04 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Paul 9810 Aug 4, 2002, 12:08 PM
Post; hot thread Re: [Paul] Getting list of available values in my (@args) = @_;
Dafyyd 9819 Aug 4, 2002, 12:11 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Dafyyd 9840 Aug 4, 2002, 12:30 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Dafyyd 9935 Aug 4, 2002, 12:39 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Paul 9847 Aug 4, 2002, 12:59 PM
Post; hot thread Re: [Paul] Getting list of available values in my (@args) = @_;
Dafyyd 9894 Aug 4, 2002, 1:05 PM
Thread; hot thread Re: [Paul] Getting list of available values in my (@args) = @_;
Dafyyd 9891 Aug 4, 2002, 1:10 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
Dafyyd 9816 Aug 4, 2002, 1:21 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
yogi 9867 Aug 4, 2002, 1:23 PM
Post; hot thread Re: [yogi] Getting list of available values in my (@args) = @_;
Dafyyd 9821 Aug 4, 2002, 1:47 PM
Post; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
yogi 9837 Aug 4, 2002, 1:21 PM
Thread; hot thread Re: [giovanni] Getting list of available values in my (@args) = @_;
yogi 9928 Aug 4, 2002, 1:00 PM
Post; hot thread Re: [yogi] Getting list of available values in my (@args) = @_;
Dafyyd 9809 Aug 4, 2002, 1:06 PM