The do builtin will take care of that, my $data = do $filepath; $data will hold the last perl value in the file. that is commonly an anonymous hashref within {} braces. The output of Data::Dumper is suitable and often used for this.
After Compline,
Zaxo
In reply to Re: sub Issue include
by Zaxo
in thread sub Issue include
by mlh2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |