in reply to Meaning of 'use constant USAGEMSG = > ...'
my $c = <<USAGE; Usage:ftp.pl [options] host:/path/to/directory Options: --user <user> Login name --pass <pass> password USAGE #$c now holds the text between <USAGE and USAGE. print $c; use constant USAGEMSG => $c;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Meaning of 'use constant USAGEMSG = > ...'
by ikegami (Patriarch) on Feb 08, 2005 at 16:36 UTC | |
by Anonymous Monk on Feb 09, 2005 at 11:37 UTC | |
by ikegami (Patriarch) on Feb 09, 2005 at 16:49 UTC |