Camelia
Prev: tar

touch

 Is not directly implemented. Most of its features can be easily implemented.
 if (my $f = open("filename", :r)) { $f.close};   # is touch -a
 if (my $f = open("filename", :a)) { $f.close};   # is touch
 if (my $f = open("filename", :w)) { $f.close};   # will create the file if it does not exist
 
 

Prev: tar

Table of Contents

Comments

In the comments, please wrap your code snippets within <pre> </pre> tags and use spaces for indentation.
comments powered by Disqus

Perl 6 Tricks and Treats newsletter

Register to the free newsletter now, and get updates and news.
Email:
Name: