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

#!perl use strict; # in1.txt # '\'asdasd', 'fghfg, hfgh' my @data = do 'in1.txt'; print "$_\n" for @data;

The above gives an output of

'asdasd fghfg, hfgh

Is the problem that you want this ?

\'asdasd fghfg, hfgh
poj

Replies are listed 'Best First'.
Re^4: do does not read massive containing element w/ ' sign.
by nikolay (Beadle) on Aug 24, 2015 at 12:11 UTC
    Yes, but my @data had no data at all -- because do did not process the array right, having one element ' char. But have solved now w/ q~data~ -- so don't worry please on this. Thank you much!