Question: In newer Perls there is "say" command that behaves like println:

```
$ perl -e 'use v5.11; say "qqq"'
qqq

```

but it's a bit cumbersome to use in oneliners, as one needs to declare version...

```
$ perl -e 'say "qqq"'
String found where operator expected at -e line 1, near "say "qqq""

$ perl -e 'print "qqq\n"'
qqq # but \n is easy for forget and "print" is longer...

```

Is there a way to enable `say` without adding slashes (there can already by plenty of in the line) or moving cursor left to type `use v5.11` in command line?

Answer: 
If calling perl from the command line, you can use the `-E` flag

* `-E program`: like `-e`, but enables all optional features

As demonstrated:

```
$ perl -E 'say "qqq"'
qqq

```
```
perl -E'say "foo";'                   # 5.10+ (Forward-incompatible!)
perl -Mfeature=say -e'say "foo";'     # 5.10+
perl -M5.010 -e'say "foo";'           # 5.10+
perl -e'CORE::say "foo";'             # 5.16+

```

See [here](https://stackoverflow.com/a/43685448/589924) for how `-E` can cause problems.