Advertisement
Guest User

Untitled

a guest
Feb 3rd, 2021
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. unit module TestImports;
  2.  
  3. sub bar is export { say "bar sub" }
  4. sub baz is export { say "baz sub" }
  5. #exported in AP Tag
  6. constant APPART is export(:AP) = 174;
  7.  
  8. # All theses are Not exported but visible by package invocation.:
  9. my $var = 'He heu hey';
  10. my $aar = 'He heu hey';
  11. my $vaa = 'He heu hey';
  12. my $kar = 'He heu hey';
  13. my $vor = 'He heu hey';
  14.  
  15. constant A = 234; #eg TestImports::A
  16.  
  17. #exported in tag MYTAG
  18. my package EXPORT::MYTAG {
  19. constant TOTITOTO = "patchamama";
  20. constant INTER = "jfklDJ";
  21. constant WANDER = "whoou";
  22. constant WANDER_FULL = "whoou";
  23. constant WANDER3FULL = "whoou";
  24. }
  25. }
  26.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement