Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Nithos

  1. Nithos

    How do you move up the tree???

    Ok <xsl:for-each> ... will move down the tree but is there anyway to go back up once you are at the bottom?? i.e <mobile> <car> <manufacturer> <model> ... now im iterating through each model, now how do i gain access to the manufacturer??? Thank You Martin --Computable or not...
  2. Nithos

    Setting table border using CSS

    For some reason this is eluding me, what i want is instead of having <table border=&quot;2&quot;> ... </table> i want to use a CSS to do the border width and color but if i have table { border=&quot;2&quot;; color=&quot;red&quot;;} in the CSS nothing happens. Any ideas why? --Computable or...
  3. Nithos

    Hello All! I am very new to perl

    i think its this line open(<FILE>,crelay.log); instead put the file in &quot;&quot; ie.. open(<FILE>,&quot;crelay.log&quot;); that should fix it, perl thought it was evaluating something with the 'log' command i believe hope this helps ;) --Computable or not Computable that is not the...
  4. Nithos

    Hello All! I am very new to perl

    so you just want to get the ip addresses and nothing else correct? if so try this open (<FILE>,whatever..) %ipinlog; #hash that will have all the ip's while(<FILE>) { if($_=~/LOGIN_MSG/ || $_=~/LOGOUT_MSG/) { $_ = <FILE>; #go to next line for ip my($ip) = /AAD\@(.*)/...
  5. Nithos

    Pattern matching

    You were right that was weird, but i think i got it. Here is what i got: $email=~ /(((\w+)[\.| dot ])+[\@| at ]((\w+)[\.| dot ])+[a-zA-Z]{2,3}) Essentially i think the problem was that u had (\.| dot ) but they should be in '[' (square) brackets i think that fixed, oh i also changed your {1,}...
  6. Nithos

    Hello, I am new to Perl and tryi

    Try using printf statements instead of print, it works just like in C, you can specify width for each value which should give you the columns u are looking for although you may have to play around with it to get it looking the way you want :) Good Luck --Marty --Computable or not Computable...
  7. Nithos

    &quot;Use of uninitialized value...&quot; reading %array tied to dbm file

    You could also use the 'exists' command ie. $rec = $database{$key} if(exists $database{$key}); Hope this helps ;) char *p=&quot;char *p=%c%s%c;main(){printf(p,34,p,34);}&quot;;main(){printf(p,34,p,34);}
  8. Nithos

    Using &lt;FORM&gt; as a menu.

    Thank You for the help first off to answer the first question i can not used just 1 form b/c the values change and with one form it will take the last set of values by default unfortunetely. secondly yes i could use the url passing method, and i was doing it at first but this is cleaner so i...
  9. Nithos

    Using &lt;FORM&gt; as a menu.

    What i am trying to do is use the submit button of the form to activate a cgi script with predefined values (ie hidden fields). So it will work like a link which will tell my cgi script what files to parse etc..., now the menu uses images and ive figured out how to make imageflips onMouseOver...

Part and Inventory Search

Back
Top