http://www.perlmonks.org?node_id=424539


in reply to Re^2: improving the aesthetics of perl code
in thread improving the aesthetics of perl code

print "<tt>­\n"; print "\n<c­enter­><h3>­MSHIP - my statu­s of host IP's<­/h3><­/cent­e +r>\n­"; my $now=­strft­ime "%m/%­d/%Y %H:%M­:%S", (loca­ltime­); print "<cen­ter>$­now</­cente­r>\n"­; print hr;

Personally, I'd probably use a heredoc for this:

my $now=strftime "%m/%d/%Y %H:%M:%S", localtime; print <<"END"; <tt><center><h3>­MSHIP - my statu­s of host IPs</h3></center> <center>$now</center> <hr /> END

Of course, I wouldn't write HTML like that, but continuing in that direction will only send me way off-topic...

=cut
--Brent Dax
There is no sig.