in reply to What does "-" in a use statement do?
The leading "-" does what it does everywhere else in Perl too, so looking at use only tells you where to look next, because what you see is the use Module LIST form. So you will next be looking at how Perl parses a list, and elements of a list.
See perlop on symbolic unary operators, which explains that -bareword is the same as "-bareword". So your expression above would be identical to:
use App::Cmd::Setup "-app";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: What does "-" in a use statement do?
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 | |
by Your Mother (Archbishop) on Jan 29, 2018 at 19:15 UTC |