in reply to Re: hash as subroutine argument
in thread hash as subroutine argument

yeah i though i will first do with the logic and then use the strict and warning module.

Replies are listed 'Best First'.
Re^3: hash as subroutine argument
by ww (Archbishop) on Jul 03, 2009 at 10:29 UTC
    Wrong!

    As your code demonstrates, doing the logic avails nothing if the syntax is wrong. Use strict and warnings as intended -- as helpers -- to get the syntax right, so you can tell if the algorithm you've selected|developed\whatever produces what you intended.

    If your code won't compile, you'll never know if you've got the logic right.