in reply to Using the DATA file handle for ARGV

I really love this idea. I've been frustrated by the situation that this solves too many times to count (in most scripts in fact.)

It's funny. I've always thought in terms of 'arguments overriding defaults' and coded with that in mind. Hijacking ARGV with defaults would never have occurred to me if I hadn't seen it here.

  • Comment on Re: Using the DATA file handle for ARGV