Fred Moyer wrote:
Tracy12 wrote:
Hi,
Is there a easy way to extract the ticket(may be using a Regular
Expression)
parameter from a URL as follows
http://localhost/myTest.pl?ticket=ST-2-zbwAtOlYlfzoC6knUXP9&name=test
There is an easy way, that emulates CGI's methods. It's called
libapreq2, and the class you're looking for is Apache2::Request. To get
the ticket for example, you create an instance of the class, and called
$req->param("ticket");
It's not part of the mod_perl package, but it is easily available.