more useful options | |
PerlMonks |
Recursive Class:Struct syntax error?by ibm1620 (Hermit) |
on Dec 03, 2018 at 15:13 UTC ( [id://1226664]=perlquestion: print w/replies, xml ) | Need Help?? |
ibm1620 has asked for the wisdom of the Perl Monks concerning the following question:
Hi --
I could use a little help learning Class:Struct. I want to traverse a directory, visiting only certain subdirectories to find files that need to be documented. The directories I want to visit are: (There will be other sub-subdirectories added later) Referring to perldoc for Class:Struct, I tried to create such a tree at compile time: The compile-time error I receive points to the use line: I'm guessing it doesn't like the way I'm recursing, but I'm stuck. Maybe this isn't the best way to solve this problem, but I would like to add Class:Struct to my toolbelt. Thanks for any help. Chap
Back to
Seekers of Perl Wisdom
|
|