Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: splitting a word

by Parham (Friar)
on Jan 16, 2002 at 02:36 UTC ( [id://139065]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $firstname = 'Parham';  #set first name
    $firstname =~ /^(\w)/;     #grab the first letter
    print $1;                  #print the first letter
    
  2. or download this
    my ($variable) = $variable =~ /regex/;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2024-03-29 15:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found