nysus has asked for the wisdom of the Perl Monks concerning the following question:
Was looking at the App::Cmd documentation. Has this in synopsis:
package YourApp; use App::Cmd::Setup -app;
I've never seen a dash used when importing a module. use and export module documentation didn't shed any light on it for me. So what does this do?
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: What does "-" in a use statement do?
by Corion (Patriarch) on Jan 27, 2018 at 13:42 UTC | |
by nysus (Parson) on Jan 27, 2018 at 13:56 UTC | |
by Corion (Patriarch) on Jan 27, 2018 at 14:10 UTC | |
by nysus (Parson) on Jan 27, 2018 at 14:25 UTC | |
by nysus (Parson) on Jan 27, 2018 at 14:41 UTC | |
by AnomalousMonk (Archbishop) on Jan 27, 2018 at 16:36 UTC | |
| |
|
Re: What does "-" in a use statement do?
by Dallaylaen (Chaplain) on Jan 29, 2018 at 09:47 UTC |