Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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
    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, 

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2015-11-27 23:36 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (734 votes), past polls