Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: lcfirst and ucfirst not working

by davido (Archbishop)
on Aug 27, 2012 at 08:24 UTC ( #989941=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $string_upper = "BAR";
    my $string_lower = "bar";
    ...
    print "     uc($string_lower) => (" ,      uc $string_lower, ")\n";
    print "lcfirst($string_upper) => (" , lcfirst $string_upper, ")\n";
    print "ucfirst($string_lower) => (" , ucfirst $string_lower, ")\n";
    
  2. or download this
    Testing metacharacter operations.
    \L: [BAR] => [bar]
    ...
         uc(bar) => (BAR)
    lcfirst(BAR) => (bAR)
    ucfirst(bar) => (Bar)
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-12-27 10:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (177 votes), past polls