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

Hi, I'm sorry. I'll try again! I'm not that allergic to subroutines, I am still working on it and trying to learn how to sub, but for my previous question, I was trying to ask if I am using "defined" the correct way to ensure that the blank values can be skipped. Thanks for the first link to the thread. Will read up and see how it goes. My apologies for causing you some annoyance!
  • Comment on Re^6: Search based on user input and return values (allergic to subroutines)

Replies are listed 'Best First'.
Re^7: Search based on user input and return values (allergic to subroutines)
by Anonymous Monk on Oct 17, 2014 at 08:15 UTC

    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

      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! :)