Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Re: perlcheat

by Juerd (Abbot)
on Feb 23, 2003 at 19:35 UTC ( #237935=note: print w/replies, xml ) Need Help??

in reply to Re: perlcheat
in thread perlcheat

One comment on your Cheat Sheet. It would be nice if you did something in addition to making the titles Bold to make them stand out. Maybe Underline too.

Can't do that, since I want it to be plain ASCII. That's also why there are no borders around the sections, and why I didn't just use a table to format the thing.

Besides, bold characters are wider in most fonts, so it'd ruin the lay-out. Underline would be possible, but still the ASCII thing holds.

If this ever becomes a perldoc, markup like this is not possible at all, since in POD you can't have fixed formatting and markup at the same time.

- (do not use).

Replies are listed 'Best First'.
Re^3: perlcheat
by Aristotle (Chancellor) on Feb 24, 2003 at 14:32 UTC
    =pod C<You B<certainly> can.> =cut
    See perlpod.

    Makeshifts last the longest.

      C<You B<certainly> can.>

      Not with fixed formatting. A fixed font doesn't make formatting fixed :)

      =pod C<B<Animals> B<Fruits>> C<Cow Apple> C<Goat Pear> C<Elephant Banana> C<Monkey Orange> =cut
      Besides that, pod2text puts "" around C<> stuff. Quite useable, but not in this situation.

      - (do not use).

        Ah, not so much formatting as autowrapping.. I see your point. So I spent a while trying to tickle linebreaks out of the pod translators, and while there are possibilities for certain target formats, there's no interoperable way to combine them. Oh well. :-/ I'll see if I can come up with anything.

        Makeshifts last the longest.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://237935]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2018-02-22 18:45 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (298 votes). Check out past polls.