jump to:allmastodonblueskylemmylobstersdevstackwikirsshn
wwebbit
view: | | |

Knowledge / everything · hot matching “perl”

3 shown · updated 2m ago · read only
  1. Why does "try" not cause an undefined subroutine error? (stackoverflow.com)stack

    9 points by w.k in stackoverflow.com · 7y ago · stack

    A couple of times I've ran into the situation where I've forgotten to load the Try::Tiny module in my script and I've still used its try-catch block, like this: #!/usr/bin/env perl use strict; use warnings; try { call_a( 'x' ); } catch { die "ACTUALLY die $_"; }; sub call_a { di…
    filed under perl
  2. Unix/Perl/Python: substitute list on big data set (stackoverflow.com)stack

    8 points by Subbeh in stackoverflow.com · 7y ago · stack

    I've got a mapping file of about 13491 key/value pairs which I need to use to replace the key with the value in a data set of about 500000 lines divided over 25 different files. Example mapping: value1,value2 Example input: field1,field2,**value1**,field4 Example output: field1,…
  3. What is the recommended way to encrypt user passwords in a database? (stackoverflow.com)stack

    1 points by szabgab in stackoverflow.com · 16y ago · stack

    In a web application written in Perl and using PostgreSQL the users have username and password. What would be the recommended way to store the passwords? Encrypting them using the crypt() function of Perl and a random salt? That would limit the useful length of passswords to 8 c…