
These are examples for creating fake type methods, called
"virtual methods". See examples/output/vmethods/* for the
outputs.

Just for getting the idea:

bytes.pl

    5.bytes                   == 5
    1.megabyte                == 1048576
    etc.
    
time.pl

    1.second                  == 1
    2.seconds                 == 2
    1.minute                  == 60
    10.minutes                == 600
    1.hour                    == 3600
    etc.
    
    10.minutes.ago            == time()-600
    10.minutes.from_now       == time()+600
    10.minutes.until(x)       == x-600
    10.minutes.since(x)       == x+600
    
escape.pl

    "1<2".escape(:lang<html>) == "1&lt;2"
    
