in reply to Not quite understanding a couple of things
How to use hashes (and arrays and scalars), see perldata.
@_ and $_ are the default array and scalar. For instance shift and pop without arguments modify @_, and print without arguments prints the current value of $_.
@_ also gets set with the arguments to the current subroutine and $_ is used as a general single argument. See perlsub and perlvar.
|
|---|