Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: lexical vs. local file handles

by jo37 (Pilgrim)
on Apr 18, 2020 at 19:52 UTC ( #11115738=note: print w/replies, xml ) Need Help??


in reply to Re^3: lexical vs. local file handles
in thread lexical vs. local file handles

My point is: bareword filehandles are something special in Perl syntactically. Avoiding them cuts off a part of the language.

Greetings,
-jo

$gryYup$d0ylprbpriprrYpkJl2xyl~rzg??P~5lp2hyl0p$

Replies are listed 'Best First'.
Re^5: lexical vs. local file handles
by chromatic (Archbishop) on Apr 18, 2020 at 20:52 UTC

    You could say the same thing about goto and mutable global variables and even $[ (which, fortunately, is gone in newer language releases), but in general the same reason to avoid them applies: because using them makes it more difficult to reason about code in the small and the large.


    Improve your skills with Modern Perl: the free book.

Re^5: lexical vs. local file handles
by haukex (Bishop) on Apr 18, 2020 at 19:54 UTC
    My point is: bareword filehandles are something special in Perl syntactically. Avoiding them cuts off a part of the language.

    Ok, but that wasn't my question...

      TIMTOWTDI. My question is: "Why not?".

      Greetings,
      -jo

      $gryYup$d0ylprbpriprrYpkJl2xyl~rzg??P~5lp2hyl0p$
        TIMTOWTDI. My question is: "Why not?".

        My question for the specific, technical advantages is something I'm honestly curious about.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2020-09-30 03:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (157 votes). Check out past polls.

    Notices?