in reply to Re^4: What does "-" in a use statement do?
in thread What does "-" in a use statement do?

... an agreed upon word for describing how the -app bit is used?

If something like  -app appeared in the parameter list of a command-line utility, it would be called a "switch" because it would most likely alter the behavior of the utility, e.g., by switching some behavior on or off. I and, I think, most others would be comfortable describing  -app as a switch controlling the behavior of the App::Cmd::Setup module. Update: See "switch" and also "options" and "flag" in perlglossary.


Give a man a fish:  <%-{-{-{-<

Replies are listed 'Best First'.
Re^6: What does "-" in a use statement do?
by Your Mother (Archbishop) on Jan 29, 2018 at 19:15 UTC

    ++ Adding: some folks calls them flags instead of switches. And some folks use them interchangeable or limit switch to boolean (on|off) options and use flags for those taking a value.