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

Problems with CODE tags

by mpolo (Chaplain)
on Jun 06, 2001 at 18:07 UTC ( #86210=monkdiscuss: print w/replies, xml ) Need Help??

Recently several obfuscations have ceased to work correctly, for instance Codici obfuscati and Abberwockyjae by me and *Yawn*, more late night obfu. by lindex (before chipmunk's edit). The problem is linked to the ^M's that are being spit out by the XML generator.

In the case of lindex's code, the ^M at the beginning was causing the problem, and chipmunk was able to suppress this by having the code start directly after the <code> tag. In the case of the two Perligata obfu's I mention, the problem lies in the ^M after the "finis" and before the start of the DATA. I can't seem to find a way to suppress this from within the edit box.

Codici obfuscati actually worked when I first uploaded it, (I downloaded it to check...). Now, however, I get an error (Accusitive not connected at line 20). (The error in the other program complains about "Something barbarous (i.e. punctuation) found" in the DATA lines.) Thus, I assume that this is a recent change, but one that I hope can be fixed.

Replies are listed 'Best First'.
Re: Problems with CODE tags
by ZZamboni (Curate) on Jun 07, 2001 at 00:38 UTC
    I've found this to be a problem with some code too. But there's always:
    perl -pi -e 'tr/\r//d'
    after you download.


Re: Problems with CODE tags
by Brovnik (Hermit) on Jun 08, 2001 at 23:20 UTC
    I have
    alias chomp="perl -pi -e 'tr/\r//d'"
    defined in .bashrc, then
    Does what I need. (Maybe I should have called it chop).

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: monkdiscuss [id://86210]
Approved by root
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2022-05-28 07:49 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (98 votes). Check out past polls.