it's not possible to regain $str_three and $str_four by applying join ( "," , @array ). Is this a Perl 5 design flaw?
With a limit of -1 as tinita has demonstrated it is indeed possible and therefore there is no design flaw.
Is there a proper way to work around this problem with Perl
The best practice to parsing and manipulating CSV data is to use one of the many modules available for that very purpose: Text::CSV, Text::CSV_XS, Text::xSV, etc.
In reply to Re: How to differentiate an empty array from an unitialized one?
by hippo
in thread How to differentiate an empty array from an unitialized one?
by iatros
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |