in reply to Splitting on an undefined # of variables
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 }
|
---|