Consider:
File display.pl
disp{
my $p = shift;
print $p;
}
File temp.pl
require "display.pl";
$item = "asd";
&disp($item);
When I executed temp.pl, it gave an error:
can't find method "disp" without a package or a object reference at display.pl line 2.
disp($item), not&disp($item), unless you specifically mean to circumvent prototypes. If you have no idea what that meant, just don't use&. See perlsub for the full explanation.