hi...
i have problem in using push function.
result as follow:
$VAR1 = 'aa bb cc';
$VAR2 = 'dd';
actually wat i wan is $VAR1 = 'aa bb cc dd';
i knew that i could archieve it through
$VAR1 = 'aa bb cc dd';
but i don wan to use the qq function.. is there any method to 'push' the new entry to the back of array and not the new line?
Thanks
i have problem in using push function.
Code:
@aa= qq (aa bb cc); push (@aa, 'dd'); print Dumper (@aa); exit;
$VAR1 = 'aa bb cc';
$VAR2 = 'dd';
actually wat i wan is $VAR1 = 'aa bb cc dd';
i knew that i could archieve it through
Code:
@aa= qq (aa bb cc); push (@aa, 'dd'); @aa=qq(@aa); print Dumper (@aa); exit;
but i don wan to use the qq function.. is there any method to 'push' the new entry to the back of array and not the new line?
Thanks
Comment