Search Results For “Tag:perl” - # - rss

JR: Probably my favorite Web apps to use and create - blog microblog message board wiki messaging My Junco code (2013) powers JotHut.com. Junco uses a good bit of code from Parula (2005) that powers the current version of message board site ToledoTalk.com. Parula contains wiki features that found in ... more>> 1 min read
- Jan 15, 2014 - #perl #programming #junco #kinglet #blog_jr


JR: Perl and OAuth - OAuth 1.0 for Perl - https://tools.ietf.org/html/rfc5849 https://github.com/keeth/Net-OAuth OAuth2 https://github.com/keeth/Net-OAuth2 https://github.com/btilly/perl-oauth2 #programming - #perl - #oauth
- Dec 03, 2013


JR: Perl testing info links - Perl's "Test::More" and "WWW::Mechanize" to test a web site. [X] https://github.com/keeth/Net-OAuth/tree/master/t - examples to view Test::More https://metacpan.org/module/Test::More Test::Tutorial Test::Simple WWW::Mechanize WWW::Mechanize::Ex... more>> 1 min read
- Dec 03, 2013 - #programming #perl #testing


JR: Looping through Perl data types - hash % perldoc -f keys % perldoc -f each If you just want the keys and do not plan to ever read any of the values, use keys(): foreach my $key (keys %hash) { ... } If you just want the values, use values(): foreach my $val (values %hash) { .... more>>
- Nov 25, 2013 - #programming #perl


JR: Creating Perl Modules and OO Programming - Defining classes and inheritance using packages within a single .pl file, without creating modules Excerpts below from an old article, located at: Related: Object Oriented Perl syntax package NewModule; use strict... more>> 3 min read
- Oct 17, 2013 - #perl #programming #objectoriented


JR: Quotes in Perl - Single quotation marks are used to enclose data you want taken literally. Double quotation marks are used to enclose data that needs to be interpolated before processing. q The first way to quote without quotes is to use q() notation. Instead of ... more>> 1 min read
- Oct 12, 2013 - #perl #programming


JR: Rest and Json links to keep around - The JSON Validator Excerpts from How the web works - HTTP and CGI explained REST Fest 2012 \ Stuart Charlton #perl #programming #json #rest
- Oct 10, 2013


JR: Working with unicode from javascript via ajax - UCS Transformation Format - 8-bit UCS = Universal Character Set on the server, use: in conjunction with HTML::Entities::encode 44 recipes for working with Unicode in Perl 5. unicode tables HTML Entities or Not Also you shoul... more>> 1 min read
- Oct 09, 2013 - #unicode #perl


JR: Perl CGI setting headers - #!/usr/bin/perl -wT use strict; use warnings; use CGI qw(:standard); print header('text/plain', '404 Not Found'); print Move along, nothing to see here\n; At promp, execute: curl -i url-to-script which returns: HTTP/1.1 404 Not Found Date... more>>
- Oct 04, 2013 - #perl #programming


JR: Perl regex extracting domain name from URL code example - #!/usr/bin/perl -wT use strict; use Data::Dumper; # code from: # ( # test links taken from the front page of news.ycombinator.com on 2Oct2013 my @urls = ( https://groups.google.com/forum/#!topic/mechanical-symp... more>>
- Oct 02, 2013 - #perl #programming #regex


JR: Loop through a Perl array - @myNames = ('Larry', 'Curly', 'Moe'); foreach (@myNames) { print $_; } #programming - #perl - #howto
- Oct 02, 2013


JR: Perl regex extracting domain name from URL - use strict; use warnings; use URI::Split qw/ uri_split uri_join /; my $scheme_host = do { my (@parts) = uri_split ' uri_join @parts[0,1]; }; print $scheme_host; If cannot install module: use strict; use warnings; my $url = ' my ($sch... more>> 1 min read
- Oct 02, 2013 - #perl #programming #regex


Older >> << Newer

A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Apr 18, 2024 - 3:03 p.m. EDT