Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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
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:??;

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 chanting in the Monastery: (10)
As of 2015-07-28 07:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls