msys2 is a Linxu-like environment.
mysy2 is available on Windows.
Do you want to use Linux commands and git and Perl on Windows?
msys2 is a good choice.
Most of CPAN module works well.
Mojolicious works well.
Installation of msys2 is easy.
msys2 supports Windows 7, 8, 10, 32bit, 64bit.
I wrote msys2 installation instructions.
="https://t…
Language specification of SPVM 1.0 is described in this document. SPVM is in beta testing for the 1.0 release. Language specifications are subject to change without notice.
SPVM 1.0 Language Specification
C99 compliant
Parsing
comment
POD
package
module
Access permission
Package variable
field
subroutine
Enumeration
BEGIN block
Lexical variable
block
scope
Array
value
Array of values
re…
GSL of C language binding to Perl - native keyword of Raku is exported to Perl/SPVM
I success GSL binding by Perl/SPVM!
GSL of C language binding to Perl/SPVM
I export native keyword to Perl/SPVM. This is greate features of Raku language.
use strict;
use warnings;
use FindBin;
use lib "$FindBin::Bin/lib";
use SPVM 'MyGSL';
MyGSL->stat;
package …
How to serve Static HTML file and CGI script in development environment.
I write simple implementation with Mojolicious.
morbo serve_cgi.pl
#!/usr/bin/env perl
use strict;
use warnings;
use Mojo::Message::Response;
use File::Temp 'tempfile';
warn "Server start\n";
my $cmd = 'giblog build';
system($cmd) == 0
or die "Can't execute $cmd: $!";
use Mojolicious::Lite;
# render CGI
app->hook(before_dispatch => sub {
my $c = shift;
my $req = $c->req;
/users/yuki_kimoto/2019/04/index.html