Intrepid has asked for the wisdom of the Perl Monks concerning the following question:
Hello good monks. I am trying to manage data associated with perl programs and these subroutines from File::HomeDir would seem to be a good starting place, but they do nothing (I am running StrawberryPerl on Windows 10). They return "undefined".
Both subs rely on my_data which looks like this:
I'd expect that if not implemented, the code would croak, which it does not do. Can anyone shed light on this module? Thanks in advance.sub my_data { $IMPLEMENTED_BY->can('my_data') ? $IMPLEMENTED_BY->my_data : Carp::croak("The my_data method is not implemented on this pla +tform"); }
[localtime:// PUT ISO-8601 TIME HERE followed by UTC]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: File::HomeDir methods my_dist_data and my_dist_config do nothing on Win32
by swl (Prior) on Apr 07, 2021 at 23:07 UTC | |
|
Re: File::HomeDir methods my_dist_data and my_dist_config do nothing on Win32
by Discipulus (Canon) on Apr 08, 2021 at 10:49 UTC | |
by Intrepid (Curate) on Apr 08, 2021 at 19:22 UTC |