Path: utzoo!attcan!uunet!cs.utexas.edu!rutgers!mcnc!uvaarpa!mmdf From: worley@compass.com (Dale Worley) Newsgroups: comp.lang.perl Subject: Changing the first character of a string. Message-ID: <1990Jul2.153957.24671@uvaarpa.Virginia.EDU> Date: 2 Jul 90 15:39:57 GMT Sender: mmdf@uvaarpa.Virginia.EDU (Uvaarpa Mail System) Reply-To: worley@compass.com Organization: The Internet Lines: 9 Of course, there's always: $flags =~ s/^./U/; (If $flags doesn't contain newlines, or $(whatever) is 0.) Dale Worley Compass, Inc. worley@compass.com -- PHOTOVOLTAICS: safe and clean (but not cheap) electricity from the SUN.