in reply to Re: Re: Re: Working With Arrays and Files
in thread Working With Arrays and Files

is there any way i can incorporate printf instead of the join?
  • Comment on Re: Re: Re: Re: Working With Arrays and Files

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Working With Arrays and Files
by dpuu (Chaplain) on Jul 23, 2002 at 21:36 UTC
    Of course. So long as you know how many fields are in the array, instead of join(" ", @fields), you could say:
    printf "%s %s %d %s %d", @fields;
    --Dave.
      thanks so much for ur help...appreciate it