in reply to Re: do does not read massive containing element w/ ' sign.
in thread «Do» does not read an array containing element w/ «'» sign.

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' ];

Replies are listed 'Best First'.
Re^3: do does not read massive containing element w/ ' sign.
by nikolay (Beadle) on Aug 22, 2015 at 09:52 UTC
    Excuse me, but could you please explain what is the proper way here -- as i see, you do the same i do, except you use that module Data? -- I have not hard coded the file name, nor did print it all out. So?