Perhaps something along the lines of:
while(<>) { my(undef, $args)=split 'args:'; # clean up the $args string here # ie chop off the ], clean up the quotes etc. # here you are ready to do your processing }
In reply to Re: Splitting on an undefined # of variables
by dga
in thread Splitting on an undefined # of variables
by Perl_User
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |