User Profile

Collapse

Profile Sidebar

Collapse
ouse77
ouse77
Last Activity: Aug 4 '08, 06:41 PM
Joined: Jul 27 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ouse77
    replied to Covert html to HTML
    in Perl
    i tried this but id don's not work

    Code:
    while ($a= <STDIN>)
    {
    if ($a =~ tr/a-z/A-Z)
    {
    print "$a\n";
    }
    if ($a =~ tr/A-Z/a-z/)
    {
       print"the uppercase is $a\n";
    }
       elsif ($a =~ tr/[A-Z]/[a-z]/)
    {
     $b=$a;
     $b=~tr/a-z/A-Z/c;
     print "$b\n";
    }
    }
    See more | Go to post
    Last edited by eWish; Aug 4 '08, 07:04 PM. Reason: Please use [code][/code] tags

    Leave a comment:


  • ouse77
    started a topic Covert html to HTML
    in Perl

    Covert html to HTML

    Hi there
    can any one help me I would like to make a perl script to make me convert a file with html tags form lowercase to uppercase from a file .html
    See more | Go to post
No activity results to display
Show More
Working...