in reply to Output To File with Array help

Re-read the docs for print. Start at the bottom.

id like to learn why this doesnt work

Limitations in the parser. It needs to know whether what follows print is a file handle or not in short order. This limits what can be used as a file handle.

Replies are listed 'Best First'.
Re^2: Output To File with Array help
by SirDonkeyPunch (Novice) on Aug 19, 2009 at 18:11 UTC
    yeah i had it working with 4 different print statements, but i wanted to see if i could use my head and get it to run more effecient with an array running thru the array index. you telling me that ill be unable to use an array as a filehandle period? or will i have to deliminate it somehow so the print function sees that its indeed a reference to a real filehandle?
      You really need to read the docs he linked to. Starting at the bottom.
      A reply falls below the community's threshold of quality. You may see it by logging in.

      you telling me that ill be unable to use an array as a filehandle period?

      No. Please follow the instructions I gave.

      Update: Toned down my answer. My annoyance was showing.