Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Real World 1, Great Expectations 0

by hsmyers (Canon)
on Oct 18, 2001 at 04:41 UTC ( [id://119600]=note: print w/replies, xml ) Need Help??


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
  • Comment on Re: Re: Real World 1, Great Expectations 0

Replies are listed 'Best First'.
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
      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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-19 23:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found