in reply to Re^4: Search based on user input and return values (more subs)
in thread Search based on user input and return values

...

:) I'm sorry to say I don't think you have done enough ( How (Not) To Ask A Question )

What you posted looks nothing like the program I wrote that I wanted you to use and continue and finish( Re: Search based on user input and return values (more subs) )

While the number of loops has decreased, you still got for($foo){ .. for($bar){ .. which does nothing, it only takes up indentation space

And you still don't have any subs ... still incomplete code that won't run as posted

I had a similar interaction with james28909 in directories and sub directories and copying or moving hundereds or thousands of files :)

I also had a similar interaction with hellohello1 in Re: How to store the output from foreach loop into variable/array without printing? where you played along after a while, but ultimately never used these ideas again

You don't have to take my advice and do what I say :)

Its ok if you have a subroutine allergy, you can live with it, its not fatal :)

But I like to keep my distance :)

Good luck

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

Replies are listed 'Best First'.
Re^6: Search based on user input and return values (allergic to subroutines)
by hellohello1 (Sexton) on Oct 17, 2014 at 07:46 UTC
    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!

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