App-Table2YAML

 view release on metacpan or  search on metacpan

share/test/asciitable/simple.org  view on Meta::CPAN

| uid | string | integer_decimal | integer_hexadecimal | integer_octal | float_exponential | float_fixed | float_special | boolean |
|-----+--------+-----------------+---------------------+---------------+-------------------+-------------+---------------+---------|
|   0 | "      |               0 |                0x00 |           000 |               0e0 |        0.00 | inf           | Y       |
|   1 | !      |           +1000 |              +0x3E8 |        +01750 |       +1.0000e+03 |     +999.99 | -INF          | YES     |
|   2 | @      |         1000000 |             0xF4240 |      03641100 |               1e6 |     54.1234 | nan           | ON      |
|   3 | #      |           -1234 |               0x4d2 |         02322 |     -1.234000e+03 |    1_234.56 | NAN           | TRUE    |
|   4 | $      |          -56789 |              0xDDD5 |       0156725 |      5.678900e+04 |  56_789.012 | NaN           | N       |
|   5 | %      |              +0 |               +0x00 |          +000 |              +0e0 |       +0.00 | InF           | FALSE   |
|   6 | &      |              -0 |               -0x00 |          -000 |              -0e0 |       -0.00 | infinity      | NO      |
|   7 | *      |      1234567890 |          0x499602D2 |  011145401322 |      1.234568e+09 |  1234567890 | -infinity     | OFF     |

share/test/dsv/simple.csv  view on Meta::CPAN

uid,string,integer_decimal,integer_hexadecimal,integer_octal,float_exponential,float_fixed,float_special,boolean
0,"""",0,0x00,000,0e0,0.00,inf,Y
1,!,+1000,+0x3E8,+01750,+1.0000e+03,+999.99,-INF,YES
2,@,1000000,0xF4240,03641100,1e6,54.1234,nan,ON
3,#,-1234,0x4d2,02322,-1.234000e+03,1_234.56,NAN,TRUE
4,$,-56789,0xDDD5,0156725,5.678900e+04,56_789.012,NaN,N
5,%,+0,+0x00,+000,+0e0,+0.00,InF,FALSE
6,&,-0,-0x00,-000,-0e0,-0.00,infinity,NO
7,*,1234567890,0x499602D2,011145401322,1.234568e+09,1234567890,-infinity,OFF

share/test/dsv/simple.tsv  view on Meta::CPAN

uid	string	integer_decimal	integer_hexadecimal	integer_octal	float_exponential	float_fixed	float_special	boolean
0	""""	0	0x00	000	0e0	0.00	inf	Y
1	!	+1000	+0x3E8	+01750	+1.0000e+03	+999.99	-INF	YES
2	@	1000000	0xF4240	03641100	1e6	54.1234	nan	ON
3	#	-1234	0x4d2	02322	-1.234000e+03	1_234.56	NAN	TRUE
4	$	-56789	0xDDD5	0156725	5.678900e+04	56_789.012	NaN	N
5	%	+0	+0x00	+000	+0e0	+0.00	InF	FALSE
6	&	-0	-0x00	-000	-0e0	-0.00	infinity	NO
7	*	1234567890	0x499602D2	011145401322	1.234568e+09	1234567890	-infinity	OFF

share/test/fixedwidth/simple.txt  view on Meta::CPAN

uid string integer_decimal integer_hexadecimal integer_octal float_exponential float_fixed float_special boolean
  0 "                    0                0x00           000               0e0        0.00 inf           Y
  1 !                +1000              +0x3E8        +01750       +1.0000e+03     +999.99 -INF          YES
  2 @              1000000             0xF4240      03641100               1e6     54.1234 nan           ON
  3 #                -1234               0x4d2         02322     -1.234000e+03    1_234.56 NAN           TRUE
  4 $               -56789              0xDDD5       0156725      5.678900e+04  56_789.012 NaN           N
  5 %                   +0               +0x00          +000              +0e0       +0.00 InF           FALSE
  6 &                   -0               -0x00          -000              -0e0       -0.00 infinity      NO
  7 *           1234567890          0x499602D2  011145401322      1.234568e+09  1234567890 -infinity     OFF

share/test/html/simple.html  view on Meta::CPAN

          <td class="left"> TRUE </td>
        </tr>
        <tr>
          <td class="right"> 4 </td>
          <td class="left"> $ </td>
          <td class="right"> -56789 </td>
          <td class="right"> 0xDDD5 </td>
          <td class="right"> 0156725 </td>
          <td class="right"> 5.678900e+04 </td>
          <td class="right"> 56_789.012 </td>
          <td class="left"> NaN </td>
          <td class="left"> N </td>
        </tr>
        <tr>
          <td class="right"> 5 </td>
          <td class="left"> % </td>
          <td class="right"> +0 </td>
          <td class="right"> +0x00 </td>
          <td class="right"> +000 </td>
          <td class="right"> +0e0 </td>
          <td class="right"> +0.00 </td>

share/test/latex/simple.tex  view on Meta::CPAN

\begin{tabular}{rlrrrrrll}
uid & string & integer_decimal & integer_hexadecimal & integer_octal & float_exponential & float_fixed & float_special & boolean \\
\hline
0 & " & 0 & 0x00 & 000 & 0\,(0) & 0.00 & inf & Y \\
1 & ! & +1000 & +0x3E8 & +01750 & +1.0000\,(+03) & +999.99 & -INF & YES \\
2 & @ & 1000000 & 0xF4240 & 03641100 & 1\,(6) & 54.1234 & nan & ON \\
3 & # & -1234 & 0x4d2 & 02322 & -1.234000\,(+03) & 1_234.56 & NAN & TRUE \\
4 & $ & -56789 & 0xDDD5 & 0156725 & 5.678900\,(+04) & 56_789.012 & NaN & N \\
5 & % & +0 & +0x00 & +000 & +0\,(0) & +0.00 & InF & FALSE \\
6 & & & -0 & -0x00 & -000 & -0\,(0) & -0.00 & infinity & NO \\
7 & * & 1234567890 & 0x499602D2 & 011145401322 & 1.234568\,(+09) & 1234567890 & -infinity & OFF \\
\end{tabular}

share/test/texinfo/simple.texi  view on Meta::CPAN

@multitable @columnfractions 0.029 0.058 0.144 0.183 0.125 0.163 0.106 0.125 0.067
@item uid @tab string @tab integer_decimal @tab integer_hexadecimal @tab integer_octal @tab float_exponential @tab float_fixed @tab float_special @tab boolean
@item 0 @tab " @tab 0 @tab 0x00 @tab 000 @tab 0e0 @tab 0.00 @tab inf @tab Y
@item 1 @tab ! @tab +1000 @tab +0x3E8 @tab +01750 @tab +1.0000e+03 @tab +999.99 @tab -INF @tab YES
@item 2 @tab @ @tab 1000000 @tab 0xF4240 @tab 03641100 @tab 1e6 @tab 54.1234 @tab nan @tab ON
@item 3 @tab # @tab -1234 @tab 0x4d2 @tab 02322 @tab -1.234000e+03 @tab 1_234.56 @tab NAN @tab TRUE
@item 4 @tab $ @tab -56789 @tab 0xDDD5 @tab 0156725 @tab 5.678900e+04 @tab 56_789.012 @tab NaN @tab N
@item 5 @tab % @tab +0 @tab +0x00 @tab +000 @tab +0e0 @tab +0.00 @tab InF @tab FALSE
@item 6 @tab & @tab -0 @tab -0x00 @tab -000 @tab -0e0 @tab -0.00 @tab infinity @tab NO
@item 7 @tab * @tab 1234567890 @tab 0x499602D2 @tab 011145401322 @tab 1.234568e+09 @tab 1234567890 @tab -infinity @tab OFF
@end multitable

share/test/yaml/simple.yml  view on Meta::CPAN

- [ {uid: 0}, {string: "\""}, {integer_decimal: 0}, {integer_hexadecimal: 0x00}, {integer_octal: 000}, {float_exponential: 0e0}, {float_fixed: 0.00}, {float_special: .inf}, {boolean: Y} ]
- [ {uid: 1}, {string: "!"}, {integer_decimal: +1000}, {integer_hexadecimal: +0x3E8}, {integer_octal: +01750}, {float_exponential: +1.0000e+03}, {float_fixed: +999.99}, {float_special: -.INF}, {boolean: YES} ]
- [ {uid: 2}, {string: "@"}, {integer_decimal: 1000000}, {integer_hexadecimal: 0xF4240}, {integer_octal: 03641100}, {float_exponential: 1e6}, {float_fixed: 54.1234}, {float_special: .nan}, {boolean: ON} ]
- [ {uid: 3}, {string: "#"}, {integer_decimal: -1234}, {integer_hexadecimal: 0x4d2}, {integer_octal: 02322}, {float_exponential: -1.234000e+03}, {float_fixed: 1_234.56}, {float_special: .NAN}, {boolean: TRUE} ]
- [ {uid: 4}, {string: "$"}, {integer_decimal: -56789}, {integer_hexadecimal: 0xDDD5}, {integer_octal: 0156725}, {float_exponential: 5.678900e+04}, {float_fixed: 56_789.012}, {float_special: .NaN}, {boolean: N} ]
- [ {uid: 5}, {string: "%"}, {integer_decimal: +0}, {integer_hexadecimal: +0x00}, {integer_octal: +000}, {float_exponential: +0e0}, {float_fixed: +0.00}, {float_special: .InF}, {boolean: FALSE} ]
- [ {uid: 6}, {string: "&"}, {integer_decimal: -0}, {integer_hexadecimal: -0x00}, {integer_octal: -000}, {float_exponential: -0e0}, {float_fixed: -0.00}, {float_special: "infinity"}, {boolean: NO} ]
- [ {uid: 7}, {string: "*"}, {integer_decimal: 1234567890}, {integer_hexadecimal: 0x499602D2}, {integer_octal: 011145401322}, {float_exponential: 1.234568e+09}, {float_fixed: 1234567890}, {float_special: "-infinity"}, {boolean: OFF} ]



( run in 0.270 second using v1.01-cache-2.11-cpan-4d50c553e7e )