'require EXPR' only accepts 'Class/Name.pm' style module names, not 'Class::Name'. How frustrating! For that, we provide 'load_class 'Class::Name''.
It's often useful to test whether a module can be loaded, instead of throwing an error when it's not available. For that, we provide 'try_load_class 'Class::Name''.
Finally, sometimes we need to know whether a particular class has been loaded. Asking '%INC' is an option, but that will miss inner packages and any class for which the filename does not correspond to the package name. For that, we provide 'is_class_loaded 'Class::Name''.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.25-bp156.3.1 info | GA Release | 2023-07-22 | 15 SP6 |
|
|
0.25-bp155.2.12 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
0.25-bp154.1.51 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
0.24-bp153.1.21 info | GA Release | 2021-03-05 | 15 SP3 |
|
|
0.24-bp152.3.19 info | GA Release | 2020-04-16 | 15 SP2 |
|
|
0.24-bp151.3.1 info | GA Release | 2019-07-16 | 15 SP1 |
|
|
0.24-bp151.2.14 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
0.24-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|