PERL Tutorial Example: Use of lc function(case conversion) in PERL

PERL Tutorial Example: Use of lc function(case conversion) in PERL

PERL Example Base Tutorial: Use of lc function(case conversion) in PERL
 

create a file named "perl-tutorial-example-function-datetime.pl" then copy and paste the below code:

$MyResponsibility = "My Responsibilities is \nto write Complex Stored Procedures using PERL";
$ConvertedMyResponsibility = lc($MyResponsibility);

print "\nWhat do i do??\n";

print "\n\nWell, of course - $ConvertedMyResponsibility.\n\n";
 

PERL Example Base Tutorial: Use of lc function(case conversion) in PERL description

Now run the program (perl-tutorial-example-function-datetime.pl) from command prompt and get the case converted result as follows:

PERL Tutorial Example: Use of lc function(case conversion) in PERL - output in the command prompt

The result in the windows command prompt case converted as well

No comments:

Post a Comment

leave your comments here..