- or download this
$ perl -MO=Deparse,-p -e 'fun(-url => $httpRefer);'
fun((-'url'), $httpRefer);
...
$ perl -MO=Deparse,-p -e 'fun(url => $httpRefer);'
fun('url', $httpRefer);
-e syntax OK
- or download this
$ perl -MO=Deparse,-p -e 'fun(-url);'
fun((-'url'));
-e syntax OK
- or download this
$ perl -Mstrict -Mwarnings -le '
sub fun { print "@_" }
...
Bareword "url" not allowed while "strict subs" in use at -e line 3.
Bareword "url"¬ allowed while "strict subs" in use at -e line 7.
Execution of -e aborted due to compilation errors.
- or download this
$ perl -Mstrict -Mwarnings -le '
sub fun { print "@_" }
...
3 -url httpRefer
4 -url httpRefer
6 url httpRefer