Search Results For “Tag:perl” - # - rss
JR:
Veery Blog App - April 2015
- June To-Dos
For the Perl API and client code bases.
within API code, write to caching server.
modify how title is processed and change both client and API code.
add rss
shortform (first X-number of chars for intro text) done
longform (entire post)...
more>>
10 min read
- Aug 03, 2015
- #veery #go #nodejs #perl #couchdb #programming #blogging
JR:
Perl and Curl
- https://github.com/szbalint/WWW--Curl
- LWP-type interface around the Curl lib
#perl #curl #programming #testing
- Mar 23, 2015
JR:
Scaup web publishing app update as of Feb 21, 2015
- Minimal web publishing tool.
Formatting can be created by using markup syntax from Markdown, MultiMarkdown, Textile, and HTML.
Tech used:
Ubuntu
Nginx
FastCGI
Perl
HTML::Template
CouchDB
Memcached
Feb 25, 2015 update
working on the API code ...
more>>
- Mar 02, 2015
- #scaup #blogging #couchdb #perl #programming
JR:
Perl CGI processing application json data
- via a POST or PUT request from a client.
the server or receiving side would do as listed in this link:
From CGI,
If POSTed data is not of type application/x-www-form-urlencoded or multipart/form-data, then the POSTed data will not be proces...
more>>
- Feb 25, 2015
- #programming #perl
JR:
Perl Timer Code
- 3 different ways:
#!/usr/bin/perl -wT
use Time::HiRes;
use Time::HiRes qw( time );
my $start_time = [Time::HiRes::gettimeofday()];
my $start = Time::HiRes::gettimeofday();
my $start_a = time();
print hey\n;
my $diff = Time::HiRes::tv_interval($s...
more>>
- Feb 11, 2015
- #programming #perl
JR:
Perl code to create random string of characters
- mixed-case, alphanumeric, 8 chars long
#!/usr/bin/perl -wT
use strict;
my @chars = (A..Z, a..z, 0 .. 9);
my $string;
$string .= $chars[rand @chars] for 1..8;
print $string . \n;
#perl #programming
- Feb 09, 2015
JR:
Using Perl and Erlang
- https://news.ycombinator.com/item?id=8911620
This is true, but it's a point worth making every so often too. I created a system with Erlang and Perl that punched well above its weight (in terms of resources allocated to it) because I was able to cl...
more>>
- Jan 19, 2015
- #programming #perl #erlang
JR:
Installing a Perl Module
- perl -MCPAN -e 'install HTML::Template'
OR
Download module to install.
tar -zxvf HTML-Template-2.8.tar.gz
(cd into the module directory)
perl Makefile.PL
make
make test
make install
#perl - #programming - #howto
- Jan 13, 2015
JR:
Perl programming tools to test
- HTTP::Engine
Dancer
PSGI/Plack
Starman
#perl - #programming - #todo
- Nov 14, 2014
JR:
Run perl script as a daemon
- #!/usr/bin/perl
use strict;
use warnings;
use Proc::Daemon;
Proc::Daemon::Init;
my $continue = 1;
$SIG{TERM} = sub { $continue = 0 };
while ($continue) {
a href=/cgi-bin/junco.pl/tag/do#do/a stuff
}
#perl - #programming -...
more>>
- Nov 14, 2014
- #do #perl #programming #howto
JR:
Perl conditional loading modules
- Chapter 12.3 of the Perl Cookbook, Delaying use Until Run Time has a lot to say about native methods, either autouse:
https://metacpan.org/pod/if
https://github.com/jberger/DeDuperizer/blob/master/deduperizer.pl
https://metacpan.org/pod/Class:...
more>>
- Oct 02, 2014
- #perl #programming
JR:
Yo-Perl Readme
- #yo - #perl - #programming - #api
Perl module that provides access to the Yo API.
External links:
Yo
API
Example Usage
Create object by passing the Yo API token for the account sending the Yo.
my $yo = Yo-new("your-yo-api-token");
Optionall...
more>>
- Aug 19, 2014
- #yo #perl #programming #api
JR:
Grebe API Returned JSON
- ...
more>>
3 min read
- Aug 19, 2014
- #grebe #api #rest #json #blogging #test #perl
JR:
Testing module to keep in mind - November 2002
- (my blog post from Saturday, November 30, 2002)
As the project matured, we added regression tests using Perl's HTTP::WebTest module and added the regression tests to the daily build process. Thus, regressions in the core application were tested dai...
more>>
- Jul 18, 2014
- #perl #programming #testing
JR:
Interview with Mojo Mail author - November 2002
- (my blog post from Friday, November 22, 2002)
An interesting discussion with a young, bright artist and programmer.
"I'm a curious person and activities such as painting and programming aren't too too different. Both need you to have a amazing i...
more>>
2 min read
- Jul 18, 2014
- #art #programming #email #perl