[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Omaha.pm] code redux



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@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@pm.org
http://mail.pm.org/mailman/listinfo/omaha-pm