Loading ...
Sorry, an error occurred while loading the content.

Re: [PBML] Re: sprintf() printf() problems....

Expand Messages
  • Kathryn Tate
    ... This will not expand each variable within a foreach loop. I am printing out from a foreach loop. Left or right justifying doesn t work. Anything else you
    Message 1 of 3 , Jul 2, 2004
    • 0 Attachment
      On Jul 2, 2004, at 5:48 PM, chcst53 wrote:

      >
      > my @a = qw/ Names    Number    Dept    Salary /;
      > printf "%-10s%-10s%-10s%s", @a;

      This will not expand each variable within a foreach loop.
      I am printing out from a foreach loop. Left or right justifying
      doesn't work.

      Anything else you could add would be appreciated.

      Kathryn
      >


      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.