Re: pack function

2006-08-24 Thread Tom Phoenix
On 8/24/06, Alexander Müller <[EMAIL PROTECTED]> wrote: But what happens if the passed string contains non-hex values like space or even "G"? What happened when you tried it? Cheers! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

pack function

2006-08-24 Thread Alexander Müller
Hello, I am currently trying to understand the TripleDES code and found the following line my @kvs = PPDES::des_set_key( pack( "H*", substr($passphrase, 16*$_, 16 ))); which apparently processes a 16 characters large block with the pack() function. Now I would like to know what

Re: pack function

2006-08-07 Thread Jay Savage
On 8/7/06, john wright <[EMAIL PROTECTED]> wrote: Hi, Can anyone explain me about below line of code,what will be the output,when i am running this code,i am not getting any output. $val=0x2964; pack ("n", $val); What output are you expecting? pack doesn't produce output on it's own. I

pack function

2006-08-07 Thread john wright
Hi, Can anyone explain me about below line of code,what will be the output,when i am running this code,i am not getting any output. $val=0x2964; pack ("n", $val); Thanks.. - Yahoo! Music Unlimited - Access over 1 million songs.Try i

pack function

2001-07-03 Thread Jia Fu Cen
Hi: Anybody know how the '@' parameter works for the pack function? Specifically, I'm looking to use the function to pack integer values (short's and long's too). A few good examples would be greatly appreciated. Thanks, Jia Fu