H
howa
Consider the codes:
#=====================
use Text:arseWords;
use Data:umper;
my $query =qq^"abc def" filetypedf def 'xyz 123' '^;
@new = parse_line(" ", 0, $query);
print Dumper @new;
#=====================
It cannot split the string,
But if ...
my $query =qq^"abc def" filetypedf def 'xyz 123' ''^;
Then it is ok, i.e.
$VAR1 = 'abc def';
$VAR2 = 'filetypedf';
$VAR3 = 'def';
$VAR4 = 'xyz 123';
$VAR5 = '';
Any comments?
#=====================
use Text:arseWords;
use Data:umper;
my $query =qq^"abc def" filetypedf def 'xyz 123' '^;
@new = parse_line(" ", 0, $query);
print Dumper @new;
#=====================
It cannot split the string,
But if ...
my $query =qq^"abc def" filetypedf def 'xyz 123' ''^;
Then it is ok, i.e.
$VAR1 = 'abc def';
$VAR2 = 'filetypedf';
$VAR3 = 'def';
$VAR4 = 'xyz 123';
$VAR5 = '';
Any comments?