# example only, need proper sanitization here in real life my ($name)=$ENV{REQUEST_URI}=~/(\w+)$/; my @param=split /_/,$name;