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...
In reply to Re(2): One line CGI::Application instance script
by bart
in thread One line CGI::Application instance script
by Arunbear
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |