Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^2: Parsing a Log file

by polettix (Vicar)
on Dec 16, 2007 at 22:42 UTC ( [id://657330]=note: print w/replies, xml ) Need Help??

in reply to Re: Parsing a Log file
in thread Parsing a Log file

The contents of your log file would be a lot easier to read if it was in a <pre> ... </pre> block.
While nobody can deny this, it's usually better to suggest <code>...</code> (or shorter <c>...</c>) blocks for formatting code, file contents, printouts from shell sessions, etc. In the first two cases, in particular, this eases the other monks with stuff like downloading the fragment.

Hey! Up to Dec 16, 2007 I was named frodo72 here, take note of the change! Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf

Io ho capito... ma tu che hai detto?

Replies are listed 'Best First'.
Re^3: Parsing a Log file
by dsheroh (Monsignor) on Dec 17, 2007 at 06:19 UTC
    On the contrary, I can deny it. To quote the bottom of the preview page:

    If you think you're going to use <pre> tags don't! Use <code> tags instead! This applies to data as well as code.

    Aside from downloadability, using <code> instead of <pre> also prevents long lines from messing up page formatting.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://657330]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-06-20 06:52 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.