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


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.

Juerd
- http://juerd.nl/
- spamcollector_perlmonks@juerd.nl (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.

      Juerd
      - http://juerd.nl/
      - spamcollector_perlmonks@juerd.nl (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.