in reply to Re^3: Embed perl problem
in thread Embed perl problem
I think i found the problem. when i run this code its ok:
//test.c eval_pv("code normal");
but when i use this , program stops:
//test.c void decode(char * block, char *key, int len) { //decode action goes here } char block[] = "encoded perl code like {0xaa,0xb9,0xb5}"; decode(block,"key",len); eval_pv(block);
also when i print the decoded string for debug purpose its same as original code.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Embed perl problem
by bliako (Abbot) on Feb 02, 2019 at 19:23 UTC | |
by Noves Castro (Novice) on Feb 03, 2019 at 04:01 UTC | |
by Noves Castro (Novice) on Feb 07, 2019 at 12:43 UTC | |
by hippo (Archbishop) on Feb 07, 2019 at 13:24 UTC | |
by Noves Castro (Novice) on Feb 05, 2019 at 04:01 UTC |