On 8/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
+To give both a long and a short switch name, you may use the pair
+notation.  The key will be considered the short switch name, while
+the variable name will be considered the long switch name.  So if
+the previous declaration had been:
+
+    sub MAIN (:f($frompart), :t($topart), [EMAIL PROTECTED])
+
+then you could invoke the program with either C<-f> or C<--frompart>
+to specify the first parameter.  Likewise you could use either C<-t>
+or C<--topart> for the second parameter.

What about combined short switches like C<-abc> to mean C<-a -b -c>?
Will perl6 support this notation or not?

--
Markus Laire

Reply via email to