in reply to My First LinkedIn Article On Perl
Please fix typo:
(at least the once I use)
should be
(at least the ones I use).
Update 1
Re:"Perl Regular Expressions are really tough" :
you could offer a link to https://regex101.com/ - a site that enables you to develop an debug (perl compatible) regex (PCRE).
I would simplify your "get_info" calling sequence and example to:
#CALLING sequence get_info ('first_name' => 'John', 'last_name' => 'Doe'); #Implementation: sub get_info { my %param = @_; die "ERROR: First-name is required" unless $param{first_name}; die "ERROR: Last-name is required" unless $param{last_name}; print "Your name is $param{first_name} $param{last_name}\n"; }
"Imaginary friends are a sign of a mental disorder if they cause distress, including antisocial behavior. Religion frequently meets that description"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: My First LinkedIn Article On Perl
by pritesh_ugrankar (Monk) on Jan 03, 2021 at 16:02 UTC | |
by NetWallah (Canon) on Jan 04, 2021 at 04:47 UTC |