||Apr 27, 2014 at 20:42 UTC
||Sep 24, 2014 at 22:29 UTC
(6 days ago)
|Curacy:||671th Monk in the Book, 2014-09-04|
|Unitarian Jihad name:||Mother Superior Mutual Assured Destruction of Appreciative Joy|
Sep 30, 2014 at 14:16 CEST
|For this user:||Search nodes|
Howdy, partner! Name's Apple Fritter, pleasure to meet y'all! I use Perl, but I don't know that much about it (yet). I'm trying to change that, so I frequent the Monastery, reading others' answers and code to learn, and providing my own answers and code to hone my skills.
For new users:
Introductions to the Monastery:
- PerlMonks for the Absolute Beginner
- The Perl Monks Guide to the Monastery
- PerlMonks FAQ
- New Monks
- Spirit of the Monastery
Spirit of the Monastery:
relies upon a spirit of fellowship which places the responsibility for
brotherly conduct on the individual Monk.
Highly opinionated and informed contributions are encouraged, but never at the expense of
mutual respect among Monks, adherence to the agreed upon rules of the
Monastery, or the basic joy of perl.
Protection of these vital elements serves to eliminate adverse conduct
from the Monastery.
Such actions as taunting of other Monks, aggression in posts, belligerent
intimidation, intentional disrespect, or other self-aggrandizing
inconsiderate behavior are contrary to the Spirit of the Monastery
and must be avoided by all Monks.
- On civility:
Always be civil. [...] Civility is simple: stick to the facts while avoiding demeaning remarks and sarcasm. It is not enough to be factual. You must also be civil. Responding in kind to incivility is not acceptable.
- "The first rule of ethics is "don't be a dick", from which all other rules logically follow."
- Further reading: Useful homenodes
Introductions to Perl and resources for learning Perl:
Best practices and other information:
There's also many books dedicated to specific topics such as Perl/Tk, DBI, Perl and XML, CGI programming with Perl, and much much more; see Perl Reference Materials: Books for an (outdated) list.
Other lists and resources:
Reviews, opinions etc.:
Asking questions (on Perlmonks and elsewhere):
How to ask questions (based on ww, Re: Replace key pair value from one to other file):
- Above all, welcome to the Monastery!
- Read the instructions ("Asking questions effectively", "Formatting your write-up", below).
- Read the documentation.
- Show effort. Write some code; at the very least, try. Help is free; doing your job for you is not.
- Describe what you want to accomplish. Be precise.
- Show us your code.
- Describe failures, expected results, and actual results.
- If applicable, show us verbatim (!) error messages/warnings.
- If applicable, give us some sample data.
- Give us the larger picture: tell us what you want to achieve, not just how you decided to go about achieving it. There may be better ways of doing it that you haven't contemplated.
- Remember, we're here to help, but we need your to help you.
Asking questions effectively:
Formatting your write-up:
Other places to get help:
Other places learn about Perl:
N.B. when crossposting to several sites, it is considered polite to inform readers of this and provide links to avoid unnecessary/duplicated effort.
For established users:
Also see ☞Unicode flags for database drivers further down.
Distros, packages etc. (e.g. for Windows users):
- CPAN: List::Util - reduce, any/all, first, sum/product, min/max, pairgrep, pairmap etc.
- CPAN: List::MoreUtils - uniq, zip, etc.
- CPAN: List::AllUtils (the previous two in one convenient module)
- Missing from List::Util / List::MoreUtils / List::AllUtils: pairwise_distinct (workaround: uniq(@list) == @list).
- CPAN: List::Compare - union, intersection, differences, symmetric difference etc.
Regular expressions, parsing and grammars:
Scripts and tools:
Talks, articles, references, presentations and meditations:
Do not fear death, you will re-awaken to a world built with Perfect Perl 7 and no Python.
-- boftx, Re^3: Using die() in methods
the moment you try to separate the physical construction of code -- kloc, function points, abstracts test quantities -- from the intellectual processes of gathering requirements; understanding work-patterns and flows; and imagining suitable, appropriate, workable algorithms to meet them; you do not have sufficient understanding of the process involved in code development to be making decisions about it.
-- BrowserUk, Re: Nobody Expects the Agile Imposition (Part VII): Metrics
You were unlucky in the sense that your program seems to have remained valid Perl even with all variables removed.
-- Corion, Re: [OneLiner] What am I doing wrong in my regex?
I insist on being paid to use Windows products, sir!
-- Your Mother, Re^3: PerlWizard - A free wizard for automatic Perl software code generation using simple forms
Two monks sat together for lunch. The first monk said, "What do you see when you see me?"
The second replied, "I see a reflection of the Buddha."
The first, feeling nasty, said, "When I look at you, I see a pile of shit."
The second just smiled. The first turned angry. "Why are you smiling?"
The second replied, "What comes out of a man is a reflection of what's inside a man. I am filled with the Buddha nature, so everywhere I look, I see a reflection of the Buddha."