path recognition question

Henrik S <[email protected]> Thu, 21 Apr 2022 11:21:48 +0800
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
given the sample url:

/api/user/id

the part of "/api/user" is fixed.  and there is a handler setup for this 
path.

how to get the id part in mod_perl?

in other framework I could get it with the similar format:

/api/user/:id

puts "hallo #{id}"


Thank you.