-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 No problem!
To be precise, -e can be easily remembered from "evaluate" (which I think is also what it actually stands for). On Sun, 3 Jun 2018 16:08:04 -0700 ToddAndMargo <toddandma...@zoho.com> wrote: > On 06/03/2018 03:57 PM, Patrick Spek via perl6-users wrote: > > It's not that it particularly dislikes it, but you have to think > > about it in what the options do, and what you want to accomplish. > > > > In a regular Perl 6 script, you'd also have to consider the order in > > which you do a similar thing. First, you need to make sure the > > include paths are correct, so the module can be found. Then, you > > have to `use` the module, so that you can access the subs and > > classes it exports. Finally, you want to let it run some piece of > > code that gets you where you want to go. > > > > This is what -I, -M and -e do, respectively, when ran as a one-liner > > from the shell. > > Makes total sense. -e means go do something. > > My goof up was my alias > > $ alias p6 > alias p6='perl6 -e' > > I had to write the thing out. > > I mainly use one liners to test out syntax, especially > regex's before stitching them into my programs. > > And, now that I have your recommendations written down, > I should not forget them again. > > Thank you for the help! -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE4eL662U9iK2ST2MqN/W6H45XOE8FAlsUd+gACgkQN/W6H45X OE/SaQf/Rvll52ckA+KRmpH6E0YHKarxDSQA6xeSnWHVpIh3r3FgQUvLX8FZEgcv 3mOsNNrglACC2+w9jO78zN/TCMFiInr0CAWyebgLLH0JbhLzyereZx6CtDfV17Qt StsSAzAHK51DAFkqOwJILkZ0aMIk/ooqaXzeAU4SWP3oeBBg0DpzdWRDvh9/t1S7 UTX0AzMraR0P1cx8Y1h6lCyohHL1ynqjxNsq9Ut1OvTFXatwZZBoQpYEK/GkKQRn AOWMNjiPv5PqPleAZrYQJv18toqbGAfRPHyt8wmMh79IXljPJZogohVheWUFa78R UlugiKqSOJPVkJBsWrozuR+5CXbKXA== =t7Ue -----END PGP SIGNATURE-----