Looks like some neat changes. Thanks for all the hard work.
I would like left, right, up and down.
so,
$sheet->cellright("A1") # B1
$sheet->celldown("A1") # A2
$sheet->cellright(0,0) # @{1,0}
This is because I always mess up the numbers (1,1) to the right, is that (1,2) or (2,1) ?
Also not sure what would happen if we go a cell that does not exist, like "A0". Does it croak?
Also not sure why the formatted/unformatted for (0,0) and "A1" is, It seems more logic to have a ->unformatted() to me, but I guess that is how the API is already made and unmutable.
Edit: I just thought that this should also be possible:
$sheet->cellright("A1",3) # D1
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.