http://qs321.pair.com?node_id=259048


in reply to CGI::Application Question

The easiest way to do this would be to add another parameter to the query string. In other words, request "index.pl?node=articles&n=15" or something like it. Then...
sub articles { my ($self) = @_; my $q = $self->query; # CGI query object my $n = $q->param('n'); # get article number ... # get and display the nth article }
Hope this helps,

elusion : http://matt.diephouse.com

Replies are listed 'Best First'.
Re: Re: CGI::Application Question
by debiandude (Scribe) on May 19, 2003 at 02:28 UTC
    Wow thanks. That worked right away.