Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-08-01 22:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (50 votes), past polls