Perl Snippets

Icon  Name                    Last modified      Size  Description
[PARENTDIR] Parent Directory - [TXT] Readme.txt 2017-07-01 10:06 161 [   ] check_keys 2003-03-20 14:04 440 [   ] intersection 2003-03-20 15:48 401 [   ] locking_files 2013-02-10 08:24 2.2K [   ] month_to_digits 2003-09-02 15:55 628 [   ] quoted-printable 2004-03-12 08:12 179 [   ] random_sequence 2007-01-25 13:58 337 [   ] randomize-array 2006-01-20 07:19 119 [TXT] regex-uri 2004-07-08 15:03 1.2K [TXT] toString 2003-05-09 12:54 1.3K [TXT] union 2003-03-20 15:48 347 [   ] weekday_to_digits 2003-09-03 16:48 446 [TXT] db8_read_simple 2017-07-01 10:19 827 A very simple implementation of db8_read [TXT] encodex 2002-12-02 13:59 203 A way of making non-printable chars printable [TXT] DB822.txt 2017-07-01 10:19 5.6K DB822 Data Format Description [   ] decode_S 2005-07-27 16:53 793 Decode string from encode_S encoded (inverse) [   ] decode_w 2005-07-27 16:54 206 Decode string from encode_w encoded (inverse) [TXT] encode_S 2005-07-27 16:53 5.3K Encode any string into a \S+ string (non-whitespace) [TXT] encode_w 2005-07-27 16:54 435 Encode any string into a \w+ string (identifier) [TXT] options 2002-12-30 12:17 1.5K Example of options analysis [TXT] get_new_filename 2007-07-03 10:53 1.1K Finds a new file name using suggested name or prefix [   ] getfile 2002-11-29 08:43 181 Get file contents into a variable [   ] appendfile 2003-05-06 15:00 191 Open file, append text, close file [   ] htmlquote 2012-12-23 10:39 264 Quotes HTML metacharacters [TXT] random_choose 2008-10-30 07:19 718 Randomly chooses n elements without repetition and returns them [TXT] db8_read 2017-07-01 10:19 1.0K Read records in DB822 format (previously read_db) [   ] rm_recursively.pl 2003-01-07 13:56 1.0K Recursive remove of files [   ] read_db 2017-06-30 23:26 22 Renamed to db8_read [   ] update_db 2017-07-01 10:20 24 Renamed to db8_update [   ] putfile 2002-12-05 10:23 185 Rewrite a file with new text [   ] db8_update 2017-07-01 10:19 2.1K Update records in DB822 format with minimal changes (previously update_db)