Help for this page

Select Code to Download


  1. or download this
    use experimental 'refaliasing';
    my $rvars = { foo=>"bar" };
    \my %vars = $rvars;      # alias
    print $vars{foo}, "\n";  # prints "bar"
    $vars{abc} = "xyz";      # modifies $hashref's contents
    
  2. or download this
    use Path::Tiny;
    use Time::Piece;
    ...
            localtime->strftime("%d-%m-%Y-%H-%M-%S.txt") )->touchpath;
        # ...
    }
    
  3. or download this
    use Path::Tiny;
    use Time::Piece;
    ...
            localtime->strftime("%d-%m-%Y-%H-%M-%S.txt") )->touchpath );
        # ...
    }