http://qs321.pair.com?node_id=1231210


in reply to Re^2: How to modify column in WriteExcel?
in thread How to modify column in WriteExcel?

If this is the output of print Dumper $url; then you need to use $url->[0][0] instead of $url->[0] (the latter being the same as ${$url}[0]).

Update: or ${${$url}[0]}[0] if you prefer.

Replies are listed 'Best First'.
Re^4: How to modify column in WriteExcel?
by vserzh (Novice) on Mar 13, 2019 at 10:45 UTC
    Yes, that output and thank you $url->[0][0] is works, link are valid now. Could you explain me why is two pointers here [0][0]? And another question can I use for/foreach to modify every row in that column?

      fetchall_arrayref returns all rows of your query in an array reference (first level of dereferencing needed) and each row again is an array reference (even when there is only one column) which is the second level of dereferencing. If you want so, you ask for a table, so you get a two-dimensional object...

        Oh, I get the point. Thank you for explanation and for Data::Dumper too, very useful thing :)