in reply to Re: Real World 1, Great Expectations 0 in thread Real World 1, Great Expectations 0
Yes! and the winner is… Thank you for precisely the information I was looking for. I had tried something like your first answer, but the perldoc said parens or plus sign, not curley braces (what are they called anyway?), so I didn't get far. As for answer #2, certainly this works (although as I said, I hadn't gotten around to IO::Handle yet) but then so do a lot of other techniques as well. What I was looking for was what you explained— why it didn't work, not workarounds. Thanks again,hsm
Re: Re: Re: Real World 1, Great Expectations 0
by greywolf (Priest) on Oct 18, 2001 at 20:10 UTC
|
...not curley braces (what are they called anyway?)
I seem to remember reading this in a previous life:
    () are braces
    {} are brackets
Update: I stand corrected. See pjf's response below.
mr greywolf | [reply] |
|
According to The Free On-Line Dictionary of Computing (and my own experience and teaching), I've found the following conventions are normally used:
- {} are braces (also called squiggly or curly brackets)
- [] are brackets (also called square brackets)
- () are parentheses (also called parens, round brackets, or bananas)
Of course, "braces vs brackets vs parentheses" are not immediately obvious to everyone, whereas "curly brackets vs square brackets vs round brackets" are. If you're not certain that your audience is going to use the same conventions as you, it's worth clarifying things first.
That reminds me, I've got a bunch of course notes I should be updating to do exactly that. ;)
Cheers, Pedantic Paul
| [reply] |
|