You could write the if statement like:
if ($_ =~ /replaceme/) { print $out qq{$_ <FORM METHOD="post" ACTION="$script_url" name="login"> <table ...> ... }; }
Using qq{} (see perlop - Quote and Quote-like Operators) you can dispense with escaping the embedded quotes, you won't need the terminal newline and there's only one print statement. You could also use a here document which is described in the same documentation.
-- Ken
In reply to Re: Compress me
by kcott
in thread Compress me
by toniax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |