in reply to REALLY PERL ??
Perl STILL ain't ready for primetime
That's a bit offputting and plain FUD. Perl has the lowest defect density of any high level language and the best support for many things other languages are generally poor with like Unicode and regex. Perl was "ready for primetime" in 1990 or even earlier and it's only improved since.
When an error seems inscrutable it's usually operator error. I've done it before, spent hours chasing a bad brace once, just as you did here so I'm not harshing on you. It happens. Good practices can keep it a rarity. If the error was obviously not in the indicated line, the first thing to do is start looking backwards or commenting out lines until you get back to the real problem. That would have taken all of 3 minutes. As hippo said, better variable/sub names are a help, single letter names are code smell. Twenty+ lines of bare code is fine; keeping things in tight blocks and subs makes problems harder to introduce and easier to find.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: REALLY PERL ??
by stevieb (Canon) on Aug 15, 2017 at 19:12 UTC | |
|
Re^2: REALLY PERL ??
by LanX (Saint) on Aug 15, 2017 at 16:42 UTC | |
by Your Mother (Archbishop) on Aug 15, 2017 at 17:06 UTC | |
by LanX (Saint) on Aug 15, 2017 at 17:48 UTC |