⭐ in reply to Why does my subroutine not receive the scalar parameter as $_?
So, if you are wanting to access the passed parameters directly, you will want to use $_[0] or alternately shift off values from the @_ array. eg.
sub get_long_count { my ($dd, $mon, $yyyy, $bc) = split /-/, $_[0], 4;
|
|---|