in reply to Re^2: file contents as a part of code?
in thread file contents as a part of code?

You teach one 'do' idiom, but then you skip the other power of 'do' and go the long way around.
die if not -f '/tmp/MY_DATA'; gnuplot({ "title" => "My Trend", "output type" => "png", "output file" => "$TMPDIR/trend-$$.png"}, do '/tmp/MY_DATA' );
(Not that this is an endorsement of either approach.)

--
[ e d @ h a l l e y . c c ]

Replies are listed 'Best First'.
Re^4: file contents as a part of code?
by djwaddel (Initiate) on Aug 17, 2005 at 16:03 UTC
    This worked like a charm! You guys are geniuses! Thanks for all your suggestions, you guys may have saved the few hairs on my head that I have not pulled out yet ;) Thanks again!!! Dave