Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Newbie parsing problem

by liverpole (Monsignor)
on Jan 25, 2007 at 16:11 UTC ( [id://596531]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub parse_name {
        my ($namestr) = @_;
    ...
        $middle ||= "";
        return [ $first, $middle, $last ];
    }
    
  2. or download this
                                                                          
    +    
    use strict;
    use warnings;
    ...
    First(      John)   Middle(    A)   Last(     Smith)
    First(      John)   Middle(    A)   Last(     Smith)
    First(      John)   Middle(    A)   Last(     Smith)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://596531]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-03-28 23:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found