Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Why don't file handles have sigils?

by Anonymous Monk
on Jul 09, 2014 at 01:48 UTC ( [id://1092826] : note . print w/replies, xml ) Need Help??


in reply to Re^2: Why don't file handles have sigils?
in thread Why don't file handles have sigils?

Things would be much easier, if only things worked the way I thought ... but then they'd be something else ; perl should really work the way I think, I shouldn't have to learn how it works
That's really not what I meant. I meant "why is it like that, is there some reason I don't know about?"

Ok, but you said you saw references; cite your references :D ; If they're all in your head, thats cool, but we can't see inside; my experience seeing such reasoning comes from a "professor type" who isn't satisfied with Logic-Wall and "backwards compatibility rules" and has for 26 years

Here is another tip http://perl5.git.perl.org/perl.git/tags ... 26 years ago perl-1.0 a "replacement" for awk and sed

So the reason is, A Larry Wall can't think of everything :) thats the way it was in the beginning, and backwards compatibility is important :)

In 1987-12-18 the Larry Wall released a "replacement" for awk and sed perl-1.0 with barewords for filehandles; all variables were globals

Maybe there is more info in perl-1.0 sources, or in the usenet postings from 1987, happy hunting

Q: Why did the chicken cross the road?

A: Chickens do that :)

Replies are listed 'Best First'.
Re^4: Why don't file handles have sigils?
by boftx (Deacon) on Jul 09, 2014 at 01:56 UTC
    Q: Why did the chicken cross the road?

    A: To show the armadillo it could be done.

    You must always remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.
Re^4: Why don't file handles have sigils?
by Anonymous Monk on Jul 09, 2014 at 02:28 UTC
    Intermediate Perl 2012 Page 116 -- "We'd have a much easier time if filehandles had sigils!"