in reply to Re: Comparing Hash's key to an <STDIN> and print it's corresponding value in thread Comparing Hash's key to an <STDIN> and print it's corresponding value
I guess you can blame it on me working on Padre at home, the Perl editor for Mac OS, while at work, I use the EngInSite editor for Win machines, it happens that in Padre, it only generates the errors but when done fixing them, it runs NOTHING! I noticed that only if there's a line with an <STDIN> ! so I'd run it from the Terminal instead, the old fashion way of running a Perl script!
that quote is just a great piece of advice to keep in mind in future programming practice!
I also loved the alternative solution you've provided! represents efficiency and simplicity all together at the same time! thanks for the reply!
|