Advertisement

07.26.2008 at 02:56PM PDT, ID: 23598159 | Points: 500
[x]
Attachment Details

yEnc and modulo ASCII in perl

Asked by dr34m3rs in Perl Programming Language

Tags: , ,

Making my own yEnc encoding module for perl.

I just want to verify that what they are saying on http://www.yenc.org/yenc-draft.1.3.txt is the following:

$a = ord($chr) + 42 % 256; # basically?

If I do that I get ASCII numbers higher than 256 though.

Thanks for any help.Start Free Trial
1:
2:
3:
$a = ord($chr) + 42 % 256; # basically?
 
http://www.yenc.org/yenc-draft.1.3.txt
[+][-]07.27.2008 at 01:00AM PDT, ID: 22097620

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.27.2008 at 10:17AM PDT, ID: 22098992

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.03.2008 at 08:42PM PDT, ID: 22149811

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.11.2008 at 09:06AM PDT, ID: 22205606

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.14.2008 at 07:57PM PST, ID: 22965631

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 14-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-43 / EE_QW_2_20070628