richz has asked for the wisdom of the Perl Monks concerning the following question:
This is used in conjunction with GetOpt::Long so I'm wondering how that print syntax works. Is it something specific to GetOpt or what? I couldn't find any mention of it in the perldoc page for GetOpt::Long. Thanks.sub usage() { print <<"END_USAGE"; Usage: -f <file> END_USAGE }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Please explain: print <<"END_USAGE";
by Fletch (Bishop) on Feb 15, 2008 at 18:01 UTC | |
by richz (Beadle) on Feb 15, 2008 at 18:17 UTC | |
by ikegami (Patriarch) on Feb 15, 2008 at 18:25 UTC |