niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
· nixdoc.net · man pages · Linux HOWTOs · FreeBSD Tips · Forums
navigation Forum index » Programming » Perl
hex file
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
Author Message
Dave Weaver
*nix forums addict


Joined: 22 Apr 2005
Posts: 71

PostPosted: Fri Jul 21, 2006 8:39 am    Post subject: Re: hex file Reply with quote

lily12a@gmail.com <lily12a@gmail.com> wrote:
Quote:

Please help if anyone knows. I would highly appreciate it. This is my
question.

Input array will include values: 4C, 49, 4C, 59
How to assign these values in to an array of hex value.

Those are already hex values!

Your question is too vague - please see the posting guidelines that
are posted to this group regularly.

Perhaps you mean something like this:

my @input_array = qw(4C 49 4C 59);
my @values = map { hex $_ } @input_array;

But perhaps not. Your question needs to be clearer.
Back to top
usenet@DavidFilmer.com
*nix forums Guru


Joined: 25 Jul 2005
Posts: 545

PostPosted: Thu Jul 20, 2006 10:04 pm    Post subject: Re: hex file Reply with quote

lily...@gmail.com wrote:

Quote:
Input array will include values: 4C, 49, 4C, 59
How to assign these values in to an array of hex value.

Those appear to already be hex values...

By the way, you may find this info interesting:
http://www.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html

--
David Filmer (http://DavidFilmer.com)
Back to top
David Squire
*nix forums Guru Wannabe


Joined: 08 Apr 2006
Posts: 197

PostPosted: Thu Jul 20, 2006 10:00 pm    Post subject: Re: hex file Reply with quote

lily12a@gmail.com wrote:
Quote:
Hello,

Please help if anyone knows. I would highly appreciate it. This is my
question.

Input array will include values: 4C, 49, 4C, 59
How to assign these values in to an array of hex value.


What have you tried?
Back to top
lily12a@gmail.com
*nix forums beginner


Joined: 20 Jul 2006
Posts: 1

PostPosted: Thu Jul 20, 2006 9:58 pm    Post subject: hex file Reply with quote

Hello,

Please help if anyone knows. I would highly appreciate it. This is my
question.

Input array will include values: 4C, 49, 4C, 59
How to assign these values in to an array of hex value.

Thanks,
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
The time now is Wed Oct 01, 2014 3:58 am | All times are GMT
navigation Forum index » Programming » Perl
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Reusing Postfix configuration file - main.cf ptyagi FreeBSD 0 Wed Jul 08, 2009 9:17 pm
No new posts Running php file everyday on scheduled time sachin PHP 1 Fri Jul 21, 2006 12:49 pm
No new posts Regarding thesaurus iso file Srikanth modules 0 Fri Jul 21, 2006 10:42 am
No new posts how can i use fstream object to clear file's content? horneye C++ 2 Fri Jul 21, 2006 7:52 am
No new posts how can i get a file descriptor not used? mars system 0 Fri Jul 21, 2006 7:41 am

Copyright © 2004-2005 DeniX Solutions SRL
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum |  email marketing service
 
Privacy Policy
[ Time: 0.0400s ][ Queries: 20 (0.0109s) ][ GZIP on - Debug on ]