Re: base64 to hex conversion

2012-01-16 Thread Igor Dovgiy
Hi Ramprasad, Perhaps... *use MIME::Base64 qw/decode_base64/;* *...* *my $res = unpack('H*', decode_base64($source));* ...will do the trick? ) -- iD 2012/1/16 Ramprasad Prasad > Hello > > what is the best way to convert base64 to hex > > I am currently using > >

base64 to hex conversion

2012-01-16 Thread Ramprasad Prasad
Hello what is the best way to convert base64 to hex I am currently using use NetSDS::Util::Convert qw ( conv_base64_str conv_str_hex); ... my $hex = conv_str_hex(conv_base64_str($b64)); But the NetSDS::Util module seems not so popular , I dont find it installed on most machines, Getting it i

Re: How to merge multiple array elements

2012-01-16 Thread Igor Dovgiy
2012/1/15 Pradeep Patra > I want to merge more than 2 arrays. @array = (@array1,@array2,@array3,@array4); > print "Array elements:@array"; > > It works and displays 1-12. But I need something different because i > dont know the value of "n" beforehand. What do you mean by 'n'? Size of the f