You could create with an empty array reference instead of undef:
my $dno = Dirnode[$curpath, []];In reply to Re^3: Novice problem: How to push a MooX Struct into a list?
by Loops
in thread Novice problem: How to push a MooX Struct into a list?
by dissident
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |