G
Guy
Instead of having the following throughout my script:
if ($adm = $password) { &DoThisAndThat; }
I think I'd rather have this at the beginning:
if ($adm = $password) {$adm = True;}
And then have the following throughout my script:
if ($adm) { &DoThisAndThat; }
Can I store (True) in a scalar, and use it like this?
Guy
if ($adm = $password) { &DoThisAndThat; }
I think I'd rather have this at the beginning:
if ($adm = $password) {$adm = True;}
And then have the following throughout my script:
if ($adm) { &DoThisAndThat; }
Can I store (True) in a scalar, and use it like this?
Guy