Gidday all, I want to pass a boolean value as a parameter to a subroutine what should I use shift or @_
and whats the difference please.
e.g
mySubRoutine(0);
sub mySubRoutine{
my $booleanParameter = @_;
return;
}
Gidday all, I want to pass a boolean value as a parameter to a subroutine what should I use shift or @_
and whats the difference please.
e.g
mySubRoutine(0);
sub mySubRoutine{
my $booleanParameter = @_;
return;
}