Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

comment on

( [id://3333] : superdoc . print w/replies, xml ) Need Help??
Well I have a chunk of code that I didn't write: (endline) setenv RAP_WP_TOP_DIR /jdev/morse/shared (endline) setenv WP_DEFAULT_CONFIG_DIR /jdev/morse/shared/config/wp_default (endline) setenv WP_LC_CONFIG_DIR /jdev/morse/shared/config/jnu_lc (endline) setenv WP_ND_CONFIG_DIR /jdev/morse/shared/config/jnu_nd (endline) setenv WP_SD_CONFIG_DIR /jdev/morse/shared/config/jnu_sd (endline) (endline) I can only assume from the context that this is similar to a filehandle and that these "filehandles" can be passed between diffent scripts. I have three questions: One... Is this assumption correct? Two... If so, what kind of rules regulate it's use? In other words, what do I have to do to let these other scripts see it? Three.. If my assumption is incorrect, what is this all about? Thanks, Pearte PS- I checked two O'Reilly's, no dice. PPS- I would love to know who to format text in this silly box.

In reply to setenv by Pearte

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.