- or download this
my $obj = bless {
Root => $rootDir,
UserDir => $obj->{Root} . "Usr/$userId/",
UserAppData = $obj->{UserDir} . "$appName/",
}, shift; # of cause this won't work
- or download this
$obj = bless {
Root => $rootDir,
...
$obj->{UserDir} = $obj->{Root} . "Usr/$userId";
$obj->{UserAppData} = $obj->{UserDir} . "$appName";
- or download this
[ConfigDirs]
A = /some/dir
B = /_#A#_/DeeperDir
C = /_#B#_/EvenDeeperDir
- or download this
$var = {
'ConfigDirs' => {
...
'C'=> '/some/dir/DeeperDir/EvenDeeperDir'
}
}