It would help if you used do properly...
use strict; use warnings; use Data::Dumper; my @data=do 'test1.dat'; print Dumper \@data; __END__ $VAR1 = [ 'qweqwe', 'rtyr tyr', '\'asdasd', 'fghfghfgh' ];
In reply to Re^2: do does not read massive containing element w/ ' sign.
by Anonymous Monk
in thread «Do» does not read an array containing element w/ «'» sign.
by nikolay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |