change ex01.pl to use the R AUTOLOAD feature