@anno4000: I prefer not to store to file, but I'll definetely check it
out right now.
@Scott Bryce: cool, I actually didnt know I could print that way.
Anyway, I tried the encode you suggested + print qq(<input
type='hidden' name='table' value="$table_string">), the result is still
the same tho. BTW, I print out my $table_string here: (It's lots of
lines, Im sorry *_*)
$VAR1 = [ 0, 'element', 'shiporder', undef, undef, undef, undef ];
$VAR2 = [ 1, 'element', 'orderperson', 'string', undef, undef, undef ];
$VAR3 = [ 1, 'element', 'shipto', undef, undef, undef, undef ]; $VAR4 =
[ 2, 'element', 'name', 'string', undef, undef, undef ]; $VAR5 = [ 2,
'element', 'address', 'string', undef, undef, undef ]; $VAR6 = [ 2,
'element', 'city', 'string', undef, undef, undef ]; $VAR7 = [ 2,
'element', 'country', 'string', undef, undef, undef ]; $VAR8 = [ 1,
'element', 'item', undef, undef, 'unbounded', undef ]; $VAR9 = [ 2,
'element', 'title', 'string', undef, undef, undef ]; $VAR10 = [ 2,
'element', 'note', 'string', 0, undef, undef ]; $VAR11 = [ 2,
'element', 'quantity', 'positiveInteger', undef, undef, undef ]; $VAR12
= [ 2, 'element', 'price', 'decimal', undef, undef, undef ]; $VAR13 = [
1, 'attribute', 'orderid', 'string', undef, undef, 'required' ];
And the dump:
# table
* $VAR1 = [
0,
'element',
'shiporder',
undef,
undef,
undef,
undef
];
$VAR2 = [
1,
'element',
'orderperson',
'string',
undef,
undef,
undef
];
$VAR3 = [
1,
'element',
'shipto',
undef,
undef,
undef,
undef
];
$VAR4 = [
2,
'element',
'name',
'string',
undef,
undef,
undef
];
$VAR5 = [
2,
'element',
'address',
'string',
undef,
undef,
undef
];
$VAR6 = [
2,
'element',
'city',
'string',
undef,
undef,
undef
];
$VAR7 = [
2,
'element',
'country',
'string',
undef,
undef,
undef
];
$VAR8 = [
1,
'element',
'item',
undef,
undef,
'unbounded',
undef
];
$VAR9 = [
2,
'element',
'title',
'string',
undef,
undef,
undef
];
$VAR10 = [
2,
'element',
'note',
'string',
0,
undef,
undef
];
$VAR11 = [
2,
'element',
'quantity',
'positiveInteger',
undef,
undef,
undef
];
$VAR12 = [
2,
'element',
'price',
'decimal',
undef,
undef,
undef
];
$VAR13 = [
1,
'attribute',
'orderid',
'string',
undef,
undef,
'required'
];