Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re:
 vs.  tags

by naikonta (Curate)
on Apr 29, 2008 at 03:32 UTC ( #683399=note: print w/replies, xml ) Need Help??


in reply to <pre> vs. <code> tags

There is some reason to keep the <pre> tags around and I think you just bring it up the good reasons for it. One feature distincts both tags is download link. With <code> tags, the part surrounded is downloadable.

With <code>

#!/usr/bin/perl use strict; use warnings; use DBI; # code following __END__

With <pre>

#!/usr/bin/perl

use strict;    # don't ever write
use warnings;  # without strictures
use DBI;

# code following
__END__

Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://683399]
help
Chatterbox?
[marinersk]: SuicideJunkie LOL
[choroba]: Woohoo! Fixed a test that hasn't run for 3 years.
[marinersk]: Corion Yes, sometimes whitespace in column headers is acceptable, but I still consider it be less than desireable if that query might get revectored for an ETL-esque process...
[marinersk]: choroba++
[choroba]: it's a long running test, so it's normally skipped unless an env var is set
[choroba]: nobody has been bothered to set the variable in the last 3 years
[marinersk]: sub newtest{my $expected_result = &target('foo'); my $actual_result = &target('foo'); if ($actual_result eq $expected_result) { &tdd_success(); } else { &tdd_fail(); } } # Test works after three years!
[choroba]: or nobody bothered...
[choroba]: The problem was bigger, as the test tried to call a method that didn't exist anymore
[marinersk]: :: ducking ::

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2017-05-25 15:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?