in reply to Re: One line CGI::Application instance script
in thread One line CGI::Application instance script
At least do something with @_ during that import call.Like this?
sub import { (shift)->new->run; }
Anyway, I like the idea of removing the need for the use of an unclear idiom, and replace it with something much simpler. Liek this.
Unfortunately, now your script will run at compile time...
|
|---|