my $path_to_p2 = cwd() . '/p2.pl';
I don't see the advantage of this over just the relative 'p2.pl' (unless the script is chdiring over its run).
In reply to Re^3: passing hash ref to a function
by haukex
in thread passing hash ref to a function
by ovedpo15
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |