in reply to Serving images with perl

I'm not sure of your level of perl knowledge, but you might consider checking Mason's dhandler feature which does just what you want.

But your question being direct would require you to simply parse $ENV{'QUERY_STRING'} in your cgi.pl.


Evan Carroll
www.EvanCarroll.com