[PerlChina] China-pm Digest, Vol 49, Issue 1
rochelle hsu
rjhome at gmail.com
Mon Jun 7 07:29:21 PDT 2010
try
splice(@{$printArray[$ii]}, 0, 4) if @{$printArray[$ii]}
replace to
defined @{$printArray[$ii]} ? splice(@{$printArray[$ii]}, 0, 4) : '';
On Tue, May 11, 2010 at 3:00 AM, <china-pm-request at pm.org> wrote:
> Send China-pm mailing list submissions to
> china-pm at pm.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mail.pm.org/mailman/listinfo/china-pm
> or, via email, send a message with subject or body 'help' to
> china-pm-request at pm.org
>
> You can reach the person managing the list at
> china-pm-owner at pm.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of China-pm digest..."
>
>
> Today's Topics:
>
> 1. (no subject) (shi feng)
> 2. (no subject) (shi feng)
> 3. Not enough format arguments (tiger peng)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 10 May 2010 10:54:10 +0800
> From: shi feng <shifeng.xiaosai at gmail.com>
> Subject: [PerlChina] (no subject)
> To: china-pm at pm.org
> Message-ID:
> <k2o858d1b8b1005091954zef7d5504zdd1d9bafa0029c9c at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mail.pm.org/pipermail/china-pm/attachments/20100510/8e82a1f6/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Mon, 10 May 2010 10:59:31 +0800
> From: shi feng <shifeng.xiaosai at gmail.com>
> Subject: [PerlChina] (no subject)
> To: China-pm at pm.org
> Message-ID:
> <t2n858d1b8b1005091959ld9979c42qf69353e773af7e93 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mail.pm.org/pipermail/china-pm/attachments/20100510/da6f8f7d/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 3
> Date: Mon, 10 May 2010 07:07:34 -0700 (PDT)
> From: tiger peng <tigerpeng2001 at yahoo.com>
> Subject: [PerlChina] Not enough format arguments
> To: china-pm at pm.org
> Message-ID: <597246.61797.qm at web58701.mail.re1.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> 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: <
> http://mail.pm.org/pipermail/china-pm/attachments/20100510/decdda1e/attachment-0001.html
> >
>
> ------------------------------
>
> _______________________________________________
> China-pm mailing list
> China-pm at pm.org
> http://mail.pm.org/mailman/listinfo/china-pm
>
> End of China-pm Digest, Vol 49, Issue 1
> ***************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/china-pm/attachments/20100607/29adfbe5/attachment.html>
More information about the China-pm
mailing list