in reply to Re^2: How to warp an array by trading X/Y coordinates (rows/columns)
in thread How to warp an array by trading X/Y coordinates (rows/columns)
I'm not working on single characters, but with split I think I can find a suitable delimiter.
I was just being lazy. It works exactly the same for strings provided they do not contain spaces:
C:\test>1157088.pl [ ["one", "five", "nine", "thirteen"], ["two", "six", "ten", "fourteen"], ["three", "seven", "eleven", "fifteen"], ["four", "eight", "twelve", "sixteen"], ] [ ["one", "two", "three", "four"], ["five", "six", "seven", "eight"], ["nine", "ten", "eleven", "twelve"], ["thirteen", "fourteen", "fifteen", "sixteen"], ]
|
|---|