in reply to Re: Meaning of 'use constant USAGEMSG = > ...'
in thread Meaning of 'use constant USAGEMSG = > ...'

Howdy!

While RTFM can be a productive activity, 'perldoc constant' would have only gotten half the answer. If you aren't familiar with here-documents, you might not even recognize the construct, let along have the vocabulary. Finding here-document fu in perldoc is not as straightforward as it might be as well.

In short, I don't think the question at hand is necessarily as obvious as you make it out to be.

yours,
Michael
  • Comment on Re^2: Meaning of 'use constant USAGEMSG = > ...'

Replies are listed 'Best First'.
Re^3: Meaning of 'use constant USAGEMSG = > ...'
by blazar (Canon) on Feb 08, 2005 at 17:52 UTC
    Finding here-document fu in perldoc is not as straightforward as it might be as well.
    I must admit this is true. In some sense it is true of all quote-like operators...
    In short, I don't think the question at hand is necessarily as obvious as you make it out to be.
    I think you're right, in fact I didn't give him a completely RTFM kinda answer, but I explained which two constructs were involved in that statement and pointed to the possibly not so obvious entry points in the docs for both.