Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Re: Two-arg open() considered dangerous

by japhy (Canon)
on Dec 12, 2001 at 04:03 UTC ( #131117=note: print w/ replies, xml ) Need Help??


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
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:??;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://131117]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2014-10-21 00:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (94 votes), past polls