- or download this
sub hello/world {
say "Hello World";
}
- or download this
*{'hello/world'} = sub {
print shift, "\n";
};
&{'hello/world'}("Hello World!");
- or download this
open *{'hello/world'}, '>', '/home/tai/tmp/helloworld.txt';
print {*{'hello/world'}} "Hello World!\n";