Re: Shorthand for binary bitwise math?

2010-02-21 Thread 120
On Mon, 2010-02-22 at 11:06 +1000, Dave Tang wrote: > On Fri, 19 Feb 2010 22:58:24 +1000, 120 wrote: > > > Apologies for my error - if I may point out that sending 'off list' > > replies is also equally rude. > > May I ask about this netiquette? I usual

Re: Shorthand for binary bitwise math?

2010-02-19 Thread 120
On Fri, 2010-02-19 at 14:25 +0200, Shlomi Fish wrote: > Hi, > > On Friday 19 Feb 2010 14:12:51 120 wrote: > > I know I can do this: > > > > $bitvalue=$bitvalue|32 > > > > but is there a shorthand for this? > > > > $bitvalue=|32 does not appe

Shorthand for binary bitwise math?

2010-02-19 Thread 120
I know I can do this: $bitvalue=$bitvalue|32 but is there a shorthand for this? $bitvalue=|32 does not appear valid - but I'm sure there is probably a way? Daniel -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.p

Re: Help me understand

2009-12-05 Thread 120
On Sat, 2009-12-05 at 08:45 -0500, Someone Something wrote: > SUPER is a class that controls the superclass of the current class. > Look here: http://search.cpan.org/~chromatic/SUPER-1.17/lib/SUPER.pm > > So, what that means is, run the encrypt method/subroutine/function of > the superclass of the

Help me understand

2009-12-05 Thread 120
Hi, I'm in my 50's and new to Perl, and I love it! Wish I discovered it years ago :-( Slowly I'm learning bits an pieces but find myself getting confused at times. I have that situation today. I've looked at this: sub encrypt { my $self = shift; my $xx = $$self; #.. cut stuff I