Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Brilliant answer RollyGuy and it works pefectly, almost.
I wish I was proficiant enough in Perl to correct it myself but alas, not yet.
The problem is this like I said in between the code snippets in each statement the last item fom the arrays are missing. However in the code above it is presumed that it is only the first two items that are selected each time, when in fact only the last needs to be omitted.

input: %hash = ( "view0" => "buffersize, size, value, speed", "view1" => "buffersize, size, value, speed", "view2" => "buffersize, size, value, speed" "view3" => "buffersize, size, value, speed") output: view0 full outer join view1 on view0.size = view1.size and view0.buffe +rsize = view1.buffersize and view0.value = view1.value full outer joi +n view2 on view1.size = view2.size and view1.buffersize = view2.buffe +rsize and view1.value = view2.value full outer join view3 on view2.si +ze = view3.size and view2.buffersize = view3.buffersize and view2.val +ue = view3.value

j o h n i r l .

Sum day soon I'Il lern how 2 spelI (nad tYpe)


In reply to Re: Re: Using hash elements to create a string by johnirl
in thread Using hash elements to create a string by johnirl

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: (9)
As of 2024-04-18 11:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found