in reply to Re^4: my within brackets
in thread my within brackets
I though about diff, but I'm mostly on Win and was too lazy to fire up the VM for that °...
But now I remembered gitbash ...
MINGW64 ~ $ diff -u \ > <( perl -Mstrict -Mwarnings -MO=Concise -e'my ($u, $v) = split + /,/, "U,V";' 2>&1 ) \ > <( perl -Mstrict -Mwarnings -MO=Concise -e'(my $u, my $v) = split + /,/, "U,V";' 2>&1 ) \ > && echo same same
thanks! :)
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
°) and I firmly expected someone would do it for me anyway ;-)
In Section
Seekers of Perl Wisdom