Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Multiline cells with Text::Table when reading from __DATA__

by diotalevi (Canon)
on Aug 20, 2007 at 15:22 UTC ( #633847=note: print w/replies, xml ) Need Help??


in reply to Multiline cells with Text::Table when reading from __DATA__

There is no established way to parse a multi-line cell from text. If you really intend to use this, you should use a less-ambiguous table format. You'll need to have row dividers. A typical divided format looks thus. Here, it's possible to find the "1\nb" entry.

+---+---+---+ | A | B | C | +---+---+---+ | 1 | 2 | 3 | | b | | | +---+---+---+

Further, Text::Table w/ newlines has been out of date since about a week after it was written. Text::Table has been able to write out newline-containing fields since then.

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2020-10-27 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (256 votes). Check out past polls.

    Notices?