-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module loading #320
Labels
Comments
Running with older XP runners, users will see errors like this: $ xp -v
Uncaught exception: Exception ([bootstrap] Classpath element [./@../xp/inject/] not found) |
💭 Second thoughtNot entirely sure about this RFC's usefulness. ➖ Useful when handwiring dependencies; users will typically use Composer, though. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Scope of Change
This RFC suggests adding the ability to load modules via
class.pth
.Rationale
There is no counterpart for the command line option
-m
.Functionality
Security considerations
n/a
Speed impact
Overhead (if not used) is one additional comparison:
'@' === $path{0}
; not measurable.Dependencies
Implemented inside XP runners completely, compatible with all XP versions.
Related documents
RFC #318
The text was updated successfully, but these errors were encountered: