You should do a little research before scolding.
I and many other monks have been providing several hundred answers to this Seeker's 100+ posts for about a year and a half. S/he's been the beneficiary of scores if not hundreds of hours of mentoring by some of the most skilled and experienced, and generous, Perl programmers there are. We've provided many dozens of example scripts and snippets, all showing use strict; use warnings;, and many recommendations to read and reread the fundamental Perl documentation.
ovedpo15 suffering from using == in place of eq for string comparison and not employing Perl's protection-from-silly-mistakes features including the warnings pragma, after all this time, is obstinate and willful programmer negligence, disrespectful of those who take time to assist, and deserving of clarion criticism.
You're not doing this monk any favours by shielding him/her from criticism from the peer group s/he has chosen to join, when s/he insists on not following the most basic advice, even while asking a new and more advanced question every few days. You're just enabling bad habits.
The way forward always starts with a minimal test.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||