You appear to be on a Windows system. The file extensions on Windows are for association. Hence, to answer your second question first, if you're on ActiveState Perl, all .pl extensions are automatically associated with perl, if you did it right, and just typing 'foo.pl' in the shell should run it. .cgi, .pl, etc. It doesn't matter to the interpreter. It may however matter to how it is treated by the OS and other programs, such as a server.
-- -will http://www.wgunther.tk (the above message is double rot13 encoded for security reasons) Most Useful Perl Modules -strict -warnings -Devel::DProf -Benchmark -B::Deparse -Data::Dumper -Clone -Perl::Tidy -Beautifier -DBD::SQLite -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>