|Just another Perl shrine|
Re^2: OS agnostic C&P CLI snippets with -Eby LanX (Sage)
|on Oct 19, 2021 at 09:14 UTC||Need Help??|
> but the following seemed like a very easy way to achieve this.
Well, these are a handful more steps than just running
As Corion pointed out you can even avoid the __END__ by typing C-z (C-c resp. Win).
But when posting I prefer __END__ because C&P easily works for the reader.
Even better this doesn't come anymore with your restriction of not using the single-quote in the code, because of your -E'...' delimiter.
The purpose of this thread was finding a way to avoid typing use feature ':all' to replicate -E
I think my 'alias' solution does it well for me locally to run -E code.
And when posting code here, I can still expand for easy reproducibility on readers side.