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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. facemann

    ANT <delete> not working

    Fixed it. :-) Changed <target name="prepare" depends="init"> to <target name="prepare" depends="clean"> hehehe ¯\(©¿©)/¯ <SHRUG>
  2. facemann

    ANT &lt;delete&gt; not working

    My ANT script gives output for every section except the <delete>. It also doesn't really delete the desired directories. I can't figure this out! >:-[ <?xml version="1.0"?> <project name="loginExample" default="all" basedir="."> <!--...
  3. facemann

    Resource not found error.

    I am trying the jsp/servlet login tutorial at http://www.roseindia.net/jsp/loginbean.shtml I am using the Orion Application Server. When I run the app I get the following error: 500 Internal Server Error java.lang.IllegalArgumentException: Resource /PPR_TV/hello?username=&password= not found I...
  4. facemann

    substitution eats space

    Duh, The substitution was including the surrounding characters. The following code does the trick. my $string = '"data","home 966-2815, cell 567-9832","data"'; print "string before sub = $string\n"; while($string =~ /[^"],[^"]/g){ my $pos = pos($string); substr($string,$pos-2,1) = ':'; }...
  5. facemann

    substitution eats space

    Ah, I just noticed that the substituion is eating a character on both sides of the comma! Hmm....
  6. facemann

    substitution eats space

    Hello all. I am trying to remove unwanted commas from a CSV file. I am attempting to do this by changing any commas that are not contained in parenthesis to a colon character. The following test program produces an unexpected result: my $string = '"data","home 966-2815, cell...
  7. facemann

    Up & Down arrows in perl debugger

    My up & down arrows work find in ssh terminal. However, I only get escape characters in the perl debugger. How can I fix this? facemann
  8. facemann

    Exploring Hash of Hash

    Thanks for the reply naChoZ. Your %foo hash is a valid solution. However, I needed the multilevel hash because I was checking each person for duplicates. I am parsing a file for a database. But, you have hit the nail on the head with your comment "treating keys as values". That's exactly what...
  9. facemann

    Exploring Hash of Hash

    I am curious. I have created a Hash of Hash as follows: $HoH{$last_name}{$first_name}{$birth_day}{$phone_num} = "$id_num"; I often know the values of ($last_name, $first_name) and would like to find the $birth_day value for this individual. Is there an elegant way to do this? Naturally: print...

Part and Inventory Search

Back
Top