Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

comment on

( [id://3333] : superdoc . print w/replies, xml ) Need Help??
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 :)


In reply to Re^3: Why don't file handles have sigils? by Anonymous Monk
in thread Why don't file handles have sigils? by 1s44c

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.