This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use strict; | |
| use warnings; | |
| use Test::More; | |
| BEGIN { use_ok 'Eval::Clean' }; | |
| use JSON; | |
| my $perl = Eval::Clean::new_perl(); | |
| ok $perl, 'got a new perl'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <EXTERN.h> | |
| #include <perl.h> | |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| PerlInterpreter *my_perl; | |
| inline SV *run_in(PerlInterpreter *perl, char *code){ | |
| SV *result; | |
| my_perl = perl; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| has 'breadboard' => ( | |
| is => 'ro', | |
| isa => 'Bread::Board::Container', | |
| handles => ['fetch'], | |
| builder => '_build_breadboard', | |
| ); | |
| sub _build_breadboard { | |
| my $self = shift; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use strict; | |
| use warnings; | |
| use feature ':5.10'; | |
| # this is a test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use feature ':5.10'; | |
| use Guard; | |
| sub unwind_protect(&@){ | |
| my $code = shift; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use feature ':5.10'; | |
| use URI::Escape; | |
| sub xx { | |
| uri_unescape( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Control.Applicative | |
| import Control.Concurrent | |
| import Control.Monad | |
| import Data.Complex | |
| import Data.List (find) | |
| import Graphics.EasyRaster.GTK | |
| import System.Environment | |
| import System.IO | |
| -- | Type representing points in an image |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FastCgiServer /var/www/blog/app/angerwhale/script/angerwhale_fastcgi.pl -processes 1 | |
| NameVirtualHost * | |
| <VirtualHost *> | |
| ServerAdmin jon-www@jrock.us | |
| ServerName blog.jrock.us | |
| DocumentRoot /var/www/blog/app/angerwhale/ | |
| Alias /static /var/www/blog/app/angerwhale/root/static | |
| Alias / /var/www/blog/app/angerwhale/script/angerwhale_fastcgi.pl/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| test |