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

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Yeah, but what if you've misspelled a name? Shouldn't it be easy to fix those kinds of mistakes? That's why I'd recommend formatting like...
my @folk = (); push (@folk, "H". "i". "b". "b". "s" ); push (@folk, "D". "a". "g". "l". "i". "s". "h" );
...etc. Of course that's also problematic if you want to edit an individual letter. So I find the style below a bit better (especially when using a modern editor like edlin). Plus it uses a more descriptive name than the bland "@folk"...
push (@Hibbs_Daglish_Schwartz_Vroom, chr(0b1001000). chr(0b1101001). chr(0b1100010). chr(0b1100010). chr(0b1110011) ); push (@Hibbs_Daglish_Schwartz_Vroom, chr(0b1000100). chr(0b1100001). chr(0b1100111). chr(0b1101100). chr(0b1101001). chr(0b1110011). chr(0b1101000) ); push (@Hibbs_Daglish_Schwartz_Vroom, chr(0b1010011). chr(0b1100011). chr(0b1101000). chr(0b1110111). chr(0b1100001). chr(0b1110010). chr(0b1110100). chr(0b1111010) ); push (@Hibbs_Daglish_Schwartz_Vroom, chr(0b1010110). chr(0b1110010). chr(0b1101111). chr(0b1101111). chr(0b1101101) );

In reply to Re: Build your array with push by Anonymous Monk
in thread Build your array with push by PhilHibbs

Title:
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.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found