I was thinking about the new-from-string idea and came up with a number of
specifications. In each case I give the string on the left and the
interpreted Perl array on the right. Does anybody see any problems with any
of these? Feel free to add your own specifications!

David

[1 +2   3] = [1, 2, 3]
[1 + 2  3] = [1, 2, 3]
[1 + 2, 3] = [3, 3]
[1 + .2 3] = [1, 0.2, 3]

[1 2 3 ; 4 5 6] = [[1, 2, 3], [4, 5, 6]]
[[1, 2][3, 4]] = [[1, 2], [3, 4]]
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to