in reply to Re: Converting HTML tags into uppercase using Perl
in thread Converting HTML tags into uppercase using Perl

This works very well, thanks. But how do i get the program to ASK for a .htm or .html file, then change the tags in the given file to uppercase, and THEN save the new file using the OPEN fuction? Thanks again.
  • Comment on Re^2: Converting HTML tags into uppercase using Perl

Replies are listed 'Best First'.
Re^3: Converting HTML tags into uppercase using Perl
by davorg (Chancellor) on Nov 29, 2005 at 12:17 UTC

    It doesn't work very well for all of the reasons thar Corion listed. It will break badly on various (common) types of HTML. Please look at using a solution that uses a real HTML parser.

    --
    <http://dave.org.uk>

    "The first rule of Perl club is you do not talk about Perl club."
    -- Chip Salzenberg