Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: creating a username from a csv file

by Tanktalus (Canon)
on Oct 04, 2012 at 22:34 UTC ( #997337=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @fieldnames = qw(Lname Fname ssn address city state zip phone1 phon
    +e2);
    my %row;
    @row{@fieldnames} = split(/,/, $line); # yeah, I just told you to use 
    +Text::CSV, but I'm keeping my suggestions independent.
    
  2. or download this
    my $user = substr($Fname, 0, 1) . substr($Lname, 0, 3) . substr($ssn, 
    +-4);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (12)
As of 2014-12-23 03:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (134 votes), past polls