in reply to print htmlcode issue

Try this:
#!/usr/bin/perl -w use strict; my $foo = <<'END'; The cat sat on the mat. The cow jumped over the moon. The horse fell down the stairs. END print $foo; #Or whatever you want to do with it.
Hope that helps
Update: On re-reading, this isn't quite the answer you were looking for - but it may still help to answer your question.
davis
Is this going out live?
No, Homer, very few cartoons are broadcast live - it's a terrible strain on the animator's wrist

Replies are listed 'Best First'.
Re: Re: print htmlcode issue
by Juerd (Abbot) on Apr 19, 2002 at 10:41 UTC

    my $foo = <<'END'; ... print $foo;

    Or in one go:

    print $foo = <<'END'; ... END

    - Yes, I reinvent wheels.
    - Spam: Visit eurotraQ.