Gossamer Forum
Home : General : Perl Programming :

what is || in variable declaration

Quote Reply
what is || in variable declaration
what does the following mean?
Code:
my ($server_auth) = $ENV{'REMOTE_USER'} || $ENV{'AUTH_USER'};
Subject Author Views Date
Thread what is || in variable declaration delicia 3695 Dec 1, 2017, 8:42 AM
Post Re: [delicia] what is || in variable declaration
Andy 3616 Dec 1, 2017, 11:03 PM