in reply to Re^6: Search based on user input and return values (allergic to subroutines)
in thread Search based on user input and return values

I was trying to ask if I am using "defined" the correct way to ensure that the blank values can be skipped.

Does it work? It looks like it would work to skip blank lines

small style tip, we usually don't write defined($foo) just  defined $foo

  • Comment on Re^7: Search based on user input and return values (allergic to subroutines)
  • Download Code

Replies are listed 'Best First'.
Re^8: Search based on user input and return values (allergic to subroutines)
by hellohello1 (Sexton) on Oct 17, 2014 at 09:31 UTC
    Thanks and noted for the tip :) I'll try my best to sub (still a little jammed regarding knowledge sense) and get back here again if I am stuck. Thanks a lot for your help so far! :)