sub my_sub { print "I'm a sub!\n"; } #### sub my_sub_with_args { my @args = @_; print "I'm in a sub that was called with these args: @args\n"; } #### my_sub(); my_sub_with_arguments("some", "arguments");
## sub my_sub_with_args { my @args = @_; print "I'm in a sub that was called with these args: @args\n"; } ##
## my_sub(); my_sub_with_arguments("some", "arguments");