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