Type of arg 2 to main::proto must be sub {} (not anonymous hash ({})) at noname2.pl line 7, near ";}" Execution of noname2.pl aborted due to compilation errors.