in reply to Meaning of 'use constant USAGEMSG = > ...'
The '<<USAGE' part is a here document. It's basically a way of defining your own quotes, so everything between the '<<USAGE;' and the final 'USAGE' is a quoted string.use constant MYCONST => 'hi'; print MYCONST; __END__ output: hi
|
|---|