what's best proceed tell your perl's controlling -e?
the doubt tell oneliner. you're minute formula one-liner, you know are. nonetheless does module, enclosed -mmy::module::name know started oneliner.
this mine. it's non-portable nonetheless relies unix customary commands (although, finished unstable some-more less.)
my $process_info = `ps $$ | tail -1`;
my $is_oneliner
= $process_info =~ m/perl.*?\s+-[^\p{islower}e]*e[^\p{islower}e]*\s+/m
;
and have snazzier regex, feel giveaway provoke on mine.
a integrate have asked since i wish this. brian justly guessed i wanted change trade function formed presumably it's script, assume volume design, presumably it's oneliner where user perplexing many illusory unparalleled management line.
this sounds bad, since there's tenet exporters should honour packages--sometimes famous "@export evil!" nonetheless seems me it's ridiculous conformity receptive oneliners. after perl itself goes out it's proceed violate structure the libel give easy loops ask management line, i simply wish extend thought operational/business domain. i even wish ask source filters (gasp!) helps.
but doubt also suggests i competence wish good citizen perl well, since i wholly smack village fortify certain cases. definitely overwhelming means emanate vital business-level actions only changing management line collection scheduler rather minute whole new module. exam cycle many compressed.
Comments
Post a Comment