Skip to content

Instantly share code, notes, and snippets.

@FCO
Created November 10, 2023 02:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FCO/076855906b0af994f4e295cddea9a52c to your computer and use it in GitHub Desktop.
Save FCO/076855906b0af994f4e295cddea9a52c to your computer and use it in GitHub Desktop.
use Singleton;
say Singleton.new.WHERE
use Singleton;
say Singleton.new.WHERE
use Bla;
use Ble;
use Singleton;
say Singleton.new.WHERE
unit class Singleton;
method new { $ //= self.bless }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment