April 2014 Archives

mop problem 1 - mop can't have protected attribute variable

mop can't have protected attribute variable. All attribute variable is private in the class.

use mop;

class Point {
has $x; # private attribute variable
has $y; # private attribute variable
}

class Point3D extends Point {

method foo {
# We can't access $x and $y.
}
}

If object is hash based object, this is resolved by the following way.

class Point {
  
   method init {
    $self->{_x} = 3;
  }
}


class Point3D extends Point {

method foo {
/users/yuki_kimoto/2014/04/index.html

GitPrep 1.6 is released - Time zone support, Charset support, and improvement of markdown

I released GitPrep 1.6. You can install portable GitHub system into Unix / Linux easily. It is second major release.

Because you can install GitPrep into your own server, you can create users and repositories without limit. You can use GitPrep freely because GitPrep is free software. You can also install GitPrep into shared rental server.


GitPrep (Document and Repository)

Features added in 1.6 are:…

About Yuki Kimoto

user-pic I am Yuki Kimoto, Japanese Perl programmer. I create tutorial site in Japanese and English. I create Perl module and upload it to CPAN. I create Web application in Github.