<[EMAIL PROTECTED]> writes: > Then where do I save those dirs? $Nokia::Gen::self->{SUBREF} > wouldn't work since there is no such variable. And if I use > $main::parser->{SUBREF} then the variable name is hardcoded.
>From the P::RD manpage, I've found $thisparser A reference to the Parse::RecDescent object through which parsing was initiated. Would this do what you need? Could you store directories as $thisparser->{DATA}{SUBREF}? /s