I'm reading the chapter on Subroutines in the camel book and have a question
about the prototypes described on page 226.
At first my understanding was, there should be a $ or @ for each parameter
expected. Or a \@ or \$ for each reference expected. But one of the
examples reads:
sub mysplice (\@$$@)
# called as myspice @array, @array, 0, @pushme
The $ and @ do not line up.
Also there's some prototypes with a semicolon in them
sub myindex($$;$)
# called as myindex &getstring, "substr"
# or
# myindex &getstring, "substring", $start
Thanks,
Vinny