WC -Sx- Jones <[EMAIL PROTECTED]> wrote: : : MuthuKumar wrote: : > : > I want to make a script which converts : > like (pErl1234test = perl). I wrote like : : #! /usr/bin/perl -w : : print "Enter ur name"; : my $name = <STDIN>; : my $org_name = $name; : $org_name =~ s/[^a-z]/ /gi; : $org_name =~ tr/A-Z/a-z/; : print " Org = $org_name\n"; : print "As Entered = $name\n";
Sorry, Sx. That produces this: Org = perl test As Entered = pErl1234test The OP wanted: Org = perl As Entered = pErl1234test HTH, Charles K. Clarkson -- Mobile Homes Specialist 254 968-8328 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>