http://www.perlmonks.org?node_id=131117


in reply to Re: Re: Two-arg open() considered dangerous
in thread Two-arg open() considered dangerous

perlopentut covers anomolies. Anyway, that's why Perl 5.6 has the multi-arg open(). open(FH, '<', $file)

_____________________________________________________
Jeff[japhy]Pinyan: Perl, regex, and perl hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;

  • Comment on Re: Re: Re: Two-arg open() considered dangerous

Replies are listed 'Best First'.
Re: Re: Re: Re: Two-arg open() considered dangerous
by chip (Curate) on Dec 12, 2001 at 04:06 UTC
    Of course Perl 5.6 has multi-arg open ... I promoted its use in the node that started this thread!

    Sheesh, japhy, I know you're busy -- but set an example, please, and read the articles you respond to. OK?

    PS: Thanks for the perlopentut reminder.

        -- Chip Salzenberg, Free-Floating Agent of Chaos

      I did read it, and that's why I too mentioned multi-arg open()... I was agreeing with you.

      _____________________________________________________
      Jeff[japhy]Pinyan: Perl, regex, and perl hacker.
      s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;