Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Strange @ appearance

by bikeNomad (Priest)
on Jul 29, 2001 at 19:39 UTC ( #100690=note: print w/replies, xml ) Need Help??

in reply to Strange @ appearance

It seems like you're uncomfortably mixing two different idioms here.

Perl's formats are designed to produce a simple formatted output on character devices (fixed-width, usually). These are used when the output device has no formatting capability of its own.

But you're mixing HTML with it. Unless you're using preformatted text of some sort (like using <PRE>) and trying to make it look right using spaces, the spaces that are generated by the Perl formatted output will mostly be ignored.

Wouldn't it be easier and cleaner (not to mention probably causing less network overhead) if you used HTML's own formatting capabilities to display this stuff as you want? Depending on your environment (intranet/Internet) you may consider using style sheets, which give quite a bit of flexibility for formatting.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2021-05-17 23:12 GMT
Find Nodes?
    Voting Booth?
    Perl 7 will be out ...

    Results (170 votes). Check out past polls.