Passing arguments to subroutines in explained in perlintro and perlsub. To make it short, all the arguments are available in the special variable of name @_.
So your sub should start like this:
sub verification { my $value = shift; # accesses @_ ...
See also: shift.
In reply to Re: Passing a scalar to a subroutine
by moritz
in thread Passing a scalar to a subroutine
by rspishock
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |