On Sun, 11 Mar 2001, Jason DeStefano wrote:

> Yeah, its called "C".

You mean "Perl".

2.5.9 Shift Operators

The bit-shift operators (<< and >>) return the value of the left argument
shifted to the left (<<) or to the right (>>) by
the number of bits specified by the right argument. The arguments should
be integers. For example:

1 << 4;     # returns 16
32 >> 4;    # returns 2

Andy

> 
> 
> At 07:33 PM 3/9/01 -0600, you wrote:
> >
> >Anyone know if a good utility to do some to bit shift a number?
> >
> >
> >-- 
> >Joseph A. Heil, Jr.                  Oracle DBA
> >heilja at dbsource.com                  http://www.dbsource.com
> >voice: 952-445-8066                  fax:   952-445-5196
> >Key fingerprint = 95 FC 3A F4 8A 10 05 85  3F 53 01 86 AD DB DB 51
> >_______________________________________________
> >tclug-list mailing list
> >tclug-list at mn-linux.org
> >https://mailman.mn-linux.org/mailman/listinfo/tclug-list
> > 
> 
> _______________________________________________
> tclug-list mailing list
> tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list
>