Start
Business
Topics
Keywords
Imprint
Geschäftliches
Themen
Schlüsselworte
Impressum
Trace:
»
perl02.html
Table of Contents
[hemmerling] Perl 2/2
Tips & Tricks
Testing
Checking Input Values if it is a Number
Perl - The Language
Object-oriented Perl
Error Handling and Signals
Appropriate OpenDirectory Directory Pages
[hemmerling] Perl 2/2
Related page:
Perl 1/2
.
Tips & Tricks
Testing
You may just write XUnit-alike testcases for modules ( “myclass.pm” ), not for applications ( “myclass pl” ).
Checking Input Values if it is a Number
die "Error - Program is terminated" if $result = ~/\D/;
Perl - The Language
Object-oriented Perl
Moose
Moose - A Postmodern Object System for Per
.
The documentation
CPAN "Moose"
.
CPAN - Search for "Moose"
.
The
Perl
module
CPAN "Task::Moose"
.
EN.Wikipedia "Moose (Perl)"
.
Mouse
The documentation
CPAN "Mouse"
.
Any::Moose
meta::cpan "Any::Moose"
- “*deprecated* - use Moo instead!”.
“Any::Moose” is a a deprecated implementation of the “Moose” syntax.
Moo
CPAN "Moo"
.
“Moo” is an implementation of the “Moose” syntax.
Perl
experts suggest to use Moo, in 2013
.
Perl
experts suggest to learn
Perl
with Moo, instead of traditional
Perl
documented in books of the 1990ths and early 2000ths, in 2013
.
bless
perldoc.perl.org - Perl Programming Documentation "PERL bless Function"
.
bless Resources
A. D. Marshall "Practical Perl Programming": "Bless the Hash and Pass the Reference"
.
Perl.com. news and views of the Perl programming language "Damian Conway: Bless My Referents"
, 1999-09-16.
Perl Monks - The Monastery Gates "Is reference blessed?"
.
Stack Overflow "What exactly does Perl's 'bless' do?"
.
tutorialspoint (TP) "PERL bless Function"
- with code example.
Moose, Mouse, Any::Moose, Moo Resources
A Foolish Manifesto fREWdiculous! "Moo: woohoo!"
, 2010-11-15.
Carlos - "Programming notes. It's code … not magic!!": "Moo, an small OO perl module"
.
JDPFu.com 2013. Open Source Technologist "Of Moose, Mouse, Moo, and Mo for OO Perl"
.
Peter Keen "Moose vs Mouse and OOP in Perl"
.
PAL-Blog "Perl vs. Moose vs. Mouse"
.
Perl Blogs
.
Toby Inkster "Moo, how do you annoy me? Let me count the ways..."
.
Diab Jerius "Building pluggable backends with Moo"
.
Sawyer X "Any::Moose is out, Moo is in!"
, 2012-07-21.
The commercial online service
Perl Maven
.
Perl Maven "Moo - Minimalist Object Orientation for Perl"
.
Perl Maven, Videos "OOP with Moo"
.
Shadowcat Systems Limited - CPAN Support "Moo versus Any::Moose"
.
Stack Overflow "Moo, lazy attributes, and default/coerce invocation"
.
Resources
There is no “new()” for modules with
Perl
, You have to write the code by yourself if you need such. “bless” is the only function given to you with native
Perl
.
SelfHTML "Perl"
.
SelfHTML "Perl / Perl-Sprachelemente / Objektorientiertes Programmieren"
.
Steven McDougall
.
Steven McDougall "Perl Module Mechanics & Related Phenomena"
.
Steven McDougall "Object-oriented programming in Perl"
.
perlUNITY "Roland Dietlicher: Einstieg in die Perl-Programmierung. Einführung in Perl 5 Objekte"
.
Error Handling and Signals
A. D. Marshall "Practical Perl Programming": "Handling Errors and Signals"
.
perldoc.perl.org - Perl Programming Documentation "die"
.
Perlmonks "Perl's Warn and Die Signals"
.
tutorialspoint (TP) "Error Handling in PERL"
.
Stack Overflow.
Stack Overflow "How can I make Perl die if a warning is generated?"
.
Stack Overflow "Does die have to be used if opening a file fails?"
.
Appropriate OpenDirectory Directory Pages
OpenDirectory "Top: Computers: Programming: Languages: Perl
.
OpenDirectory "Top: World: Deutsch: Computer: Programmieren: Sprachen: Perl"
.
Unix script language
,
script language
,
Perl
When
this
document
changes
! Site Navigation (
My Business
!
My Topics
!
Imprint / Contact
!
Privacy Policy
!
Keyword Index
!
Google+ Author "Rolf Hemmerling"
!
Google+ Publisher "hemmerling" )
en/perl02.html.txt · Last modified: 2025/01/15 19:56 (external edit) · []