#!/usr/bin/perl use warnings; use strict; use feature qw{ say }; use Getopt::Long; GetOptions( 'x=s' => \(my $x = 'X'), 'y=s' => \(my $y = 'Y'), ); say "$x|$y";
Example session:
$ 1.pl X|Y $ 1.pl -x abc abc|Y $ 1.pl -y def X|def $ 1.pl -x abc -y ghi abc|ghi
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
In reply to Re: default option
by choroba
in thread default option
by etricaen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |