Perl Awk - sgml/signature GitHub Wiki
Perl is great for long-term projects because it almost never breaks old code. Programs written many years ago still work today without needing changes. This makes Perl a smart choice when you want your tools to last and be easy to fix later. Other languages often change rules or remove features, but Perl tries hard to keep things the same. That way, future developers can understand and use your code without starting from scratch.
- https://jobs.perl.org/
- https://www.dice.com/jobs?filters.employmentType=PARTTIME&q=perl
- craigslist
- vlsi
- GitHub: https://github.com/JJ
- Focus: Perl 6 (Raku), academic research, open source advocacy
- LinkedIn: https://www.linkedin.com/in/cparedes/
- Focus: Perl development, Latin American tech forums
- GitHub: https://github.com/lmotta
- Focus: Long-time Perl developer, CPAN contributor, speaker
- GitHub: https://github.com/danielruoso
- Focus: Perl 6 (Raku), compiler internals, VM architecture
- GitHub: https://github.com/fernando
- Focus: DevOps, infrastructure automation, Perl scripting
Rank | Topic | URL | Ranking Algorithm |
---|---|---|---|
1 | ExifTool | https://github.com/topics/exiftool | R=S*C |
2 | Mojolicious | https://github.com/topics/mojolicious | R=S+A |
3 | Command-line-text-processing | https://github.com/topics/command-line-text-processing | R=T*C |
4 | DevOps-Bash-tools | https://github.com/topics/devops-bash-tools | R=L-H |
5 | Imapsync | https://github.com/topics/imapsync | R=S*Q |
6 | Kaitai Struct | https://github.com/topics/kaitai-struct | R=U/P |
7 | WeeChat | https://github.com/topics/weechat | R=T+F |
8 | LCOV | https://github.com/topics/lcov | R=S+D |
9 | SmokePing | https://github.com/topics/smokeping | R=C-V |
10 | OpenFortiVPN | https://github.com/topics/openfortivpn | R=P*U |
Table Footer:
Ranking Algorithms Explanation:
-
<math><mi>R</mi>
: Rank -
<mi>S</mi>
: Star count -
<mi>C</mi>
: Community engagement -
<mi>A</mi>
: Activity level -
<mi>T</mi>
: Topic relevance -
<mi>L</mi>
: Language compatibility -
<mi>H</mi>
: Historical trend -
<mi>Q</mi>
: Quality rating -
<mi>U</mi>
: User interest -
<mi>P</mi>
: Popularity -
<mi>D</mi>
: Documentation quality -
<mi>V</mi>
: Viewer statistics -
<mi>F</mi>
: Fork count
mkdir $(awk '{print $1}' Hub/README.md)
use strict; use warnings; use Time::HiRes qw(sleep); sub exponential_backoff { my ($max_retries, $initial_delay, $max_delay) = @_; my $attempt = 0; while ($attempt < $max_retries) { eval { # Place your code that might fail here # For example, a network request die "Simulated failure" if rand() < 0.7; # Simulate a failure 70% of the time print "Operation succeeded\n"; return; # Exit if the operation is successful }; if ($@) { $attempt++; my $delay = $initial_delay * (2 ** ($attempt - 1)); $delay = $max_delay if $delay > $max_delay; print "Attempt $attempt failed. Retrying in $delay seconds...\n"; sleep($delay); } } die "Operation failed after $max_retries attempts\n"; } # Example usage my $max_retries = 5; my $initial_delay = 1; # in seconds my $max_delay = 16; # in seconds exponential_backoff($max_retries, $initial_delay, $max_delay);
w
use strict;
use warnings;
use Dpkg::Database;
my $threshold_kb = 102400; # 100MB in KB
my $db = Dpkg::Database->new();
$db->load();
foreach my $pkg ($db->get_packages()) {
my $size = $pkg->{InstalledSize} || 0;
if ($size > $threshold_kb) {
printf "%.1f MB\t%s\n", $size / 1024, $pkg->{Package};
}
}
cpan install Dpkg::Database
- http://blogs.perl.org/users/sid_burn/2014/03/the-mapgrepsort-dead-end-street.html
- http://www.softpanorama.org/Scripting/Perlorama/Functions/grep_and_map.shtml
- https://perlmaven.com/filtering-values-with-perl-grep
- http://web.eecs.utk.edu/~bvz/cs460/notes/perl/perlfile.html
- https://www.perlmonks.org/?node_id=1206848
- http://search.cpan.org/dist/perl-5.27.1/ext/File-Glob/Glob.pm
- https://research.swtch.com/glob
- https://unix.stackexchange.com/questions/203086/how-to-remove-a-string-of-characters-after-and-before-a-specific-character
- https://unix.stackexchange.com/questions/605561/how-to-edit-a-text-file-without-a-text-editor
- https://www.oreilly.com/library/view/data-science-at/9781491947845/ch04.html
- https://pynative.com/python-search-for-a-string-in-text-files/
- https://stackoverflow.com/questions/41289455/python-search-file-for-specific-word-and-find-exact-match-and-print-line
- https://stackoverflow.com/questions/15718068/search-file-and-find-exact-match-and-print-line
- https://www.oreilly.com/library/view/data-science-at/9781491947845/ch04.html
- https://developer.teradata.com/blog/odbcteam/2016/02/perl-with-teradata-odbc
- http://imagemagick.sourceforge.net/http/www/perl.html
- https://dl.acm.org/citation.cfm?id=517258
- http://perl-begin.org/tutorials/perl-for-newbies/part4/
- https://docs.oracle.com/cd/E64107_01/bigData.Doc/install_deploy_bdd/src/tins_preinstall_mail_address_perl_module.html
- https://www.ibm.com/developerworks/community/blogs/Dougclectica/entry/perl_modules_and_aix5?lang=en
- https://community.opmantek.com/display/NMIS/Installing+Perl+Libraries+with+and+without+CPAN
- https://www.thegeekstuff.com/2008/09/how-to-install-perl-modules-manually-and-using-cpan-command/
- https://stackoverflow.com/questions/251705/how-can-i-use-a-new-perl-module-without-install-permissions
- http://archive.oreilly.com/oreillyschool/courses/Perl4/Perl4-05.html
- https://perldoc.perl.org/5.16.1/Module/Build/Cookbook.html
- http://blogs.perl.org/users/marc_sebastian_jakobs/2009/11/how-to-install-perl-modules-from-cpan-in-the-unix-user-space.html
- https://learn.perl.org/faq/perlfaq8.html
- http://pdl.perl.org/PDLdocs/FAQ.html
perl -pi -e 's/you/me/g' file
http://blogs.perl.org/users/zoffix_znet/2016/08/the-awesome-errors-of-perl-6.html
https://en.wikipedia.org/wiki/Schwartzian_transform
- https://www.perl.com/pub/2004/08/09/commandline.html/
- http://perl101.org/command-line-switches.html
- https://affy.blogspot.com/p5be/ch17.htm
- http://www.cs.cmu.edu/afs/cs/usr/rgs/mosaic/pl-opt.html
- https://www.perlmonks.org/?node_id=324749
https://culturedperl.com/perl-5-xml-validation-with-dtd-and-xsd-ec2d90f7c434 https://docs.servicenow.com/bundle/london-application-development/page/integrate/perl/task/t_InstallThePerlAPI.html
- https://metacpan.org/pod/File::Path
- https://metacpan.org/pod/patch
- https://metacpan.org/pod/File::Slurp
- http://www.rcbowen.com/imho/perl/modules.html
- http://alumni.soe.ucsc.edu/~you/notes/perl-module-install.html
- https://mojolicious.org/perldoc/CPAN
- https://supermarket.chef.io/cookbooks/perl
- https://www.perlmonks.org/?node_id=128077
- https://www.cpan.org/SITES.html
- https://www.perl.com/pub/2007/01/11/painless-ppm.html/
- http://archive.oreilly.com/oreillyschool/courses/Perl4/Perl4-05.html
- https://www.perl.com/article/44/2013/10/20/Find-CPAN-mirrors-and-configure-the-local-CPAN-mirror-list/
- https://www.cpan.org/src/
- http://jenda.krynicky.cz
- http://www.evanmiller.org/a-review-of-perl-6.html
- https://opensource.com/article/18/1/why-i-love-perl-5
- https://engineering.semantics3.com/a-perl-toolchain-for-building-micro-services-at-scale-8851626a4b1b
- https://docs.oracle.com/cd/E52668_01/E87205/html/section_krw_nfv_dq.html
- https://metacpan.org/pod/JSON::PP
CGI/PSGI
- https://developers.redhat.com/blog/2015/11/18/deploying-psgi-applications-rhscl-docker-containers/
- https://linuxconfig.org/simple-cgi-and-apache-examples-on-ubuntu-linux
- https://metacpan.org/pod/CGI::Alternatives
References
- https://www.gnu.org/software/gawk/manual/gawk.pdf
- https://builtin.com/companies/tech/perl-companies
- https://github.com/cpanel/p5-cPanel-APIClient
- https://github.com/CpanelInc/cPanel-PublicAPI
- https://github.com/elastic/elasticsearch-perl
- http://www.chicagobusiness.com/apps/pbcs.dll/article?AID=99992388
- http://www.barrons.com/quote/stock/us/xnys/bac.pl
- https://www.interactivebrokers.com/cgi-pub/stock_search.pl?symbol=?&NYSE.html=Submit
- https://svn.apache.org/repos/asf/perl/
- http://www.dqsd.net/tools/dqsdtoc/searchtoc.pl
- http://www.computinghistory.org.uk/cgi/archive.pl?type=Books
- http://tycho.usno.navy.mil/timer.pl
- https://medium.com/embedthis/stop-using-cgi-c6aa42dbebd3
- https://medium.com/@vanwilson/example-of-functional-programming-in-three-web-languages-a87d98df3847
- https://hackernoon.com/unconventional-way-of-learning-a-new-programming-language-e4d1f600342c
- https://perlhacks.com/2015/12/long-death-cgi-pm/
- http://search.cpan.org/~markstos/CGI-Application-Dispatch-3.12/lib/CGI/Application/Dispatch/PSGI.pm
- https://www.perl.com/pub/2003/06/19/treasures.html/
- http://www.dalkescientific.com/Martel/
- http://blog.kraih.com/post/147632979106/mojolicious-70-released-perl-real-time-web
- https://unix.stackexchange.com/questions/589553/replace-double-quotes-using-awk
https://medium.com/unraveling-the-ouroboros/haskell-vs-perl-6-first-impressions-91b0d77a8140