Often times I find myself working on regular bourne shell (not bash) which only
has single-equals to compare strings. I had to inform a coworker that using double-equals is undefined when he tried to use it.
Back on topic... If we were to reverse course and only say reply back with "run `perldoc perlsyn`, you'll find your answer", pretty soon people will get turned off. PerlMonks ultimately is a completely voluntary resource (save for the fine folks who are responsible for and run this great site) which is unlike school where kids are meant to learn. The philosophies under which we exchange ideas are very different so it's hard to ply the same questions to both areas.
With that being said, to me I try to answer posts in which the poster has provided some effort on their own. Posts like "I need to parse this data file, here's what it looks like, now by my code monkeys and do my homework assignment" get ignored. Other posts like "I'm trying to parse this file with this format. I wrote this perl script here but it doesn't do X or how can I make it more efficient" get a second look and possibly a response.
Their demonstrated effort goes a long way in soliciting a response from me, at least. I like to help people that help themselves, but if you aren't going to try, then neither am I.
"The three principal virtues of a programmer are Laziness, Impatience, and Hubris. See the Camel Book for why." -- `man perl`
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.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||