print $$f; { no strict 'refs'; print $$f; print $$g; } print $$f; #### print $$f; switch on the strict refs flag; print $$f; print $$g; switch off the strict refs flag; print $$f; #### print ( dereference $f allowing strings ); print ( dereference $f not allowing strings ); print ( dereference $g not allowing strings ); print ( dereference $f allowing strings ); #### use MyModule; # this will be run once at compile time print "hello\n"; use MyModule; # this will be run once at compile time for (1..10) { use MyModule; # this will be run once at compile time print $_; }