Help for this page

Select Code to Download


  1. or download this
    $str = "aa bb cc";
    
    ...
    @a = $str =~ m/(\w+)/g;
    print "@a\n";
    # prints aa bb cc
    
  2. or download this
    print localtime(), "\n";
    print scalar localtime(), "\n";
    ...
    
    print "\$time => $time\n";
    print "\@time => @time\n";