From shifeng.xiaosai at gmail.com Sun May 9 19:54:10 2010 From: shifeng.xiaosai at gmail.com (shi feng) Date: Mon, 10 May 2010 10:54:10 +0800 Subject: [PerlChina] =?utf-8?q?=28no_subject=29?= Message-ID: -------------- next part -------------- An HTML attachment was scrubbed... URL: From shifeng.xiaosai at gmail.com Sun May 9 19:59:31 2010 From: shifeng.xiaosai at gmail.com (shi feng) Date: Mon, 10 May 2010 10:59:31 +0800 Subject: [PerlChina] =?utf-8?q?=28no_subject=29?= Message-ID: -------------- next part -------------- An HTML attachment was scrubbed... URL: From tigerpeng2001 at yahoo.com Mon May 10 07:07:34 2010 From: tigerpeng2001 at yahoo.com (tiger peng) Date: Mon, 10 May 2010 07:07:34 -0700 (PDT) Subject: [PerlChina] Not enough format arguments Message-ID: <597246.61797.qm@web58701.mail.re1.yahoo.com> Hello,   I try to format the output as below with last couple of colmns being able to extend from 0 to any number of lines. If there is no data after 5th element, 'Not enough format arguments' warning message will be triggered. Is ther any simple way to make the format do not complain?   Record1 12:30 98.40% 12 67.54% a(6) 77 80                                b(1) 56 54   format MFILE = @<<<<<<<<<<<<<@>>>>> @>>>>> @>>>>> @>>>>> @>>@>>>@>>>>>@>>>>> splice(@{$printArray[$ii]}, 0, 5),        splice(@{$printArray[$ii]}, 0, 4) if @{$printArray[$ii]},                                           @>>@>>>@>>>>>@>>>>> ~~                                           splice(@{$printArray[$ii]}, 0, 4) if @{$printArray[$ii]} . -------------- next part -------------- An HTML attachment was scrubbed... URL: