Perl: the Markov chain saw | |
PerlMonks |
Re^2: perl scripting helpby cavac (Parson) |
on May 28, 2021 at 16:04 UTC ( [id://11133228]=note: print w/replies, xml ) | Need Help?? |
Hmm, if OP wants to have an interactive terminal that just executes some commands before dropping to the command line, something like this should work:
perl -e 'use Crypt::Digest::SHA256 qw[sha256_hex]; print substr(sha256_hex("the Answer To Life, The Universe And Everything"), 6, 2), "\n";'
In Section
Seekers of Perl Wisdom
|
|