[Omaha.pm] code redux
Dave M
dave.nerd at gmail.com
Tue Sep 12 08:31:12 PDT 2006
Looks like it to me. It's not like $prt{'blah'} will keep the
justification properties, right?
Although, I would write things like this:
$prt{'reversal_flag'} = (" ") x 3;
$prt{'reversal_period'} = (" ") x 5;
I hate counting spaces.... :)
On 9/12/06, Jay Hannah <jhannah at omnihotels.com> wrote:
> Uhh...
>
> Before
>
> $prt{'reversal_flag'} = " ";
> $prt{'reversal_flag'} = sprintf("%-3s",$prt{'reversal_flag'});
> $prt{'reversal_period'} = " ";
> $prt{'reversal_period'} = sprintf("%-8s",$prt{'reversal_period'});
>
> After
>
> $prt{'reversal_flag'} = " ";
> $prt{'reversal_period'} = " ";
>
> Right?
>
> j
> _______________________________________________
> Omaha-pm mailing list
> Omaha-pm at pm.org
> http://mail.pm.org/mailman/listinfo/omaha-pm
>
More information about the Omaha-pm
mailing list