$ perl -e 'tied { sub {}->() }' Can't modify anonymous hash ({}) in tied at -e line 1, at EOF Execution of -e aborted due to compilation errors.