Created
December 12, 2022 09:20
-
-
Save foursixnine/5f001c5f924e077a713383cfdd9dd0ba to your computer and use it in GitHub Desktop.
Perl static method call
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package stuff; | |
use v5.30; | |
sub cc { | |
say 'hello!'.__PACKAGE__; | |
} | |
1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Small proof of concept to check some concepts | |
use v5.30; | |
use stuff; | |
stuff::cc(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment