$ perl -we 'my $(ipic) = $nec->locateAbsolutepath($ipic1);' Bareword found where operator expected at -e line 1, near "$(ipic" (Missing operator before ipic?) Unquoted string "ipic" may clash with future reserved word at -e line 1. Can't use global $( in "my" at -e line 1, near "my $(" syntax error at -e line 1, near "$(ipic" Execution of -e aborted due to compilation errors.