Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Simple clarification!

by vnpandey (Scribe)
on Jul 10, 2000 at 19:26 UTC ( [id://21799]=perlquestion: print w/replies, xml ) Need Help??

vnpandey has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks, I have created lot of fuss already due to ignorance so want clarification regarding posting of codes.From the site how to I know that one can enclose code(I understand it as the programme part only) within the tags but couldn't follow actually what is meant by putting HTML escape sequence for pesky characters, How to do that?? does it means that for all the eight comparative operators as shown on the site, whenever present in the programme code one has to do some html escape sequencing ( if yes how it has to be done??..)As I am novice I am helpless but to ask these simple facts.. Thanks, V.N.Pandey

Replies are listed 'Best First'.
Re: Simple clarification!
by ZZamboni (Curate) on Jul 10, 2000 at 20:04 UTC
    Anything you put inside <CODE> tags is displayed exactly as you type it. So any code you want to include should be enclosed in those tags. For example, to include a section of code, you would type:

    <code>

    foreach (@array) { any other perl code you want }
    </code>

    If you want to type any special characters outside the CODE tags, you have to use the special HTML constructs for that. See the Site How To for some examples.

    Apart from properly formatting your code, remember to always try to provide as much information as possible (sometimes a piece of code is not very helpful without some context as to how it is being used) and to reduce the problem to its minimum. See the Before you post... thread for more on this.

    --ZZamboni

Re: Simple clarification!
by httptech (Chaplain) on Jul 10, 2000 at 19:29 UTC
    If you put your HTML code between <CODE> tags you should not have to escape it. Like this: <b>Here is some <i>HTML</i> that I did not escape</b>
Re: Simple clarification!
by Kevman (Pilgrim) on Jul 10, 2000 at 20:06 UTC
    Look at "Site How to"
    Under "sections" on the right of the screen
    This explains how to put your code in html tags.

    Kevman

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-19 06:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found