Simple Perl variables are called scalars. Examples of scalar values are
$number = 123;
$string = "String";
$file_handle = open "<filename";
$null_value = undef;
$instance = MyClass->new;| param([switch]$elevated) | |
| # 💡 Enter your VPN and KMS server addresses: | |
| $VPN_ADDRESS = 'vpn.address.com' | |
| $KMS_ADDRESS = 'kms.address.com' | |
| $OFFICE_DIR = 'C:\Program files\Microsoft Office\Office16\' | |
| # 👏 Based on: | |
| # https://gist.github.com/ALiangLiang/b66bc6eaeab420a5ff0c2b934c15451e | |
| # https://superuser.com/questions/108207/how-to-run-a-powershell-script-as-administrator |
| /** | |
| * Returns a time-ordered UUID (UUIDv6). | |
| * | |
| * Tags: uuid guid uuid-generator guid-generator generator time order rfc4122 rfc-4122 postgres postgres8 | |
| */ | |
| CREATE OR REPLACE FUNCTION generate_uuid_v6() RETURNS VARCHAR(36) AS | |
| $$ | |
| DECLARE | |
| v_time TIMESTAMP WITH TIME ZONE; |