Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Weird substitution, missing output

by LanX (Saint)
on May 10, 2019 at 11:38 UTC ( [id://1233559]=note: print w/replies, xml ) Need Help??


in reply to Weird substitution, missing output

Hello

Please show us the expected output and what you got for a short example input.

See also SSCCE

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Update

After reading brainfuck I'm understanding your problem is that you are inserting + symbols as c-code which is replaced later as BF code.

Translating linear code with a series of global s///g substitutions rarely works, because you are running over your own output.

But Anonymous Monk has already given you an excellent answer in the meantime.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1233559]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-25 16:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found