<< is a left shift operator.. Thanks, Kalyan Kumar M ----- Original Message ----- From: "Angerstein" <[EMAIL PROTECTED]> To: <beginners@perl.org> Sent: Friday, March 18, 2005 2:48 PM Subject: Could somebody please explain what this line does? $x<<3
> > I have a Line of code I just donīt know waht it does. > Especialy the underlined section: > > All used vars are scalars. > > my $d = (($facility_i<<3)|($priority_i)); > -------------- > > Its from Net::Syslog syslog.pm line 93. > > Thanks > Bastian > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>