From: Roland G. <rgi...@cp...> - 2007-09-27 10:57:47
|
Take a look at vec(). perldoc -f vec And how exactly is this related to Expect? Roland On 9/26/07, rag84dec <rag...@gm...> wrote: > > Hi, > > I need to shift 32 bits in perl. > > Like $t=0xe1; > $r=$t<<32; > > but it is not working since scalar can hold 32 bits ...can u tell me how to > make it work??? > > i want to send this to postmessage($hnd,$msg,0,$r); > > $r should contain yx position....x-32 bit y 32-bits > > how to do???? > > > -- > View this message in context: http://www.nabble.com/left-shift-problem-tf4521525.html#a12898474 > Sent from the Perl - Expectperl-Discuss mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Expectperl-discuss mailing list > Exp...@li... > https://lists.sourceforge.net/lists/listinfo/expectperl-discuss > |