Example: test.pl
main.pl#!/usr/bin/perl sub test { print "test\n"; } 1;
Thanks for your help#!/usr/bin/perl require 'test.pl'; # what file is &test() from? I would like to see test.pl?
In reply to Getting perl file path from Function by clintonm9
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |