Generally, I think it's a good idea for Perl programs (or, indeed, any programs) not to have an extension. Why should your users know or care what language a program is written in.
Your last example wouldn't work without some kind of mod_rewrite magic, but something that I've used successfully in the past is to create directories containing an index.cgi so you can use URLs like:
http://www.domain.com/acme/login/?mode=new
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re: Perl file names and extensions
by davorg
in thread Perl file names and extensions
by bradcathey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |