Re: Wanted: Help with Function Arguments

2003-06-02 Thread Rob Dixon
Richard Heintze wrote: > James, > The problem occurs when $q->param('next') returns a > null of sorts because there is no such parameter in > the URL. If there is no such parameter then 'param' will return either 'undef' or an empty list according to context. > Apparently, this does not get passe

RE: Wanted: Help with Function Arguments

2003-06-01 Thread Charles K. Clarkson
Richard Heintze <[EMAIL PROTECTED]> wrote: : What is happening to my second argument here? : It is not being passed! : : use CGI qw(:standard); : $q = new CGI; I know this is only a test, but "qw(:standard)" imports a whole lot of subs into your script that are not needed with the object- o

Re: Wanted: Help with Function Arguments

2003-06-01 Thread James Edward Gray II
On Saturday, May 31, 2003, at 06:22 PM, Richard Heintze wrote: The problem occurs when $q->param('next') returns a null of sorts because there is no such parameter in the URL. Apparently, this does not get passed. This does sound like you're getting an empty list then. I'm not sure why that is.

Re: Wanted: Help with Function Arguments

2003-06-01 Thread Richard Heintze
James, The problem occurs when $q->param('next') returns a null of sorts because there is no such parameter in the URL. Apparently, this does not get passed. When this is the case, all the subsequent function parameters are offset by one. Very strange... What a language... I'll try yo

Re: Wanted: Help with Function Arguments

2003-06-01 Thread James Edward Gray II
On Saturday, May 31, 2003, at 05:01 PM, Richard Heintze wrote: Thanks James, I think I understand now! Glad to hear it. Here is another topic: My, my you are quite the problem child today, aren't you? ;) What is happening to my second argument here? It is not being passed! &print_args("abc", $