open my $ch, 'path to config file'; my $folder; my $assignment = <$ch>; close $ch; chomp $assignment; $assignment =~ s/^\s*my\s*//; eval $assignment; # assigns to THIS scope!
One world, one people
In reply to Re: Recover a path from a config file
by anonymized user 468275
in thread Recover a path from a config file
by Chaoui05
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |