On 05/02/2017 10:02 PM, Shrivats wrote:
Careful :-)
You're actually closing the single quote youstarted with perl6 -e. In
other words, this is your Shell's doing.
You can execute this as a script with single quote around string
literals with no issues
Streetcars
Mumble. And I did know
On 05/02/2017 10:02 PM, Shrivats wrote:
Careful :-)
You're actually closing the single quote youstarted with perl6 -e. In
other words, this is your Shell's doing.
You can execute this as a script with single quote around string
literals with no issues
Streetcars
Mumble. I did know that.
Careful :-)
You're actually closing the single quote youstarted with perl6 -e. In
other words, this is your Shell's doing.
You can execute this as a script with single quote around string literals
with no issues
Streetcars
On May 3, 2017 10:27, "ToddAndMargo" wrote:
>
Hi All,
Why does this work
$ perl6 -e 'my $x="abcdef"; if $x.contains( "abc" ) { say "yes" } else {
say "no" };'
yes
And this does not?
$ perl6 -e 'my $x="abcdef"; if $x.contains( 'abc' ) { say "yes" } else {
say "no" };'
===SORRY!=== Error while compiling -e
Undeclared routine:
abc