I know shift takes the element out from an array and single pipe symbol (|) is a bitwise or operator, but what two pipe symbols (||) is doing in below piece of code?
#!/usr/bin/perl -w
use strict;
my $self = shift || 7899;
print "self: $self\n";
Thanks!