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 SkipVought 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. huskers

    data structures in perl...

    got it. Thx
  2. huskers

    data structures in perl...

    Trojan, Can you explain this line a little, push @{$results{shift @fields}}, @fields;
  3. huskers

    data structures in perl...

    Thank you very much Trojan. I need to pass the params to another perl script which takes $key and $results{$key} as arguments.
  4. huskers

    data structures in perl...

    Hi, I have data from table which i want to store in a data structure. The data is as follows: ab, 2 ab, 3 ab, 4 cd, 10 cd, 23 cd, 15 cd, 16 ef, 5 ef, 6 ef, 11 ef, 12 ef, 51 I want it in a data structure as follows: ab 2, 3, 4 cd 23, 15, 16 ef 5, 6, 11, 12, 51 I have to pass ab and...
  5. huskers

    dynamically building selection list....

    Thx. Do you happen to have any examples.
  6. huskers

    dynamically building selection list....

    Thanks for the response. I am looking more specifically at how to build a dynamic selection list to show all the tables in database when a particular database is selected. I do not know how to do this. How do i know that a particular database is selected.
  7. huskers

    dynamically building selection list....

    I am new to php and I am trying to write a database management tool in php. The database i am using is Mysql. I am planning to have 3 selection lists. The first selection list displays all the databases in MySQL database. When any one database is selected the 2nd selection list displays all the...
  8. huskers

    data structure...

    I am looking for an efficient way to search elements in the following data structure struct x { int item; struct node *element; } struct node { int a; struct node *ptr; } There can be many possible elemets associated for each item and there can be many items. All of this are stored...
  9. huskers

    socket programming help...

    Got it...Thx
  10. huskers

    socket programming help...

    Got it...Thx
  11. huskers

    socket programming help...

    I have written a client-server process to send records from box A to B in C. The record is sent to B as follows: %03d\0<pipe delimited record>\0 The first field is the length of the record and the second one is the actual pipe delimited string(The way to send the record can be changed). There...
  12. huskers

    socket programming help...

    I have written a client-server process to send records from box A to B in C. The record is sent to B as follows: %03d\0<pipe delimited record>\0 The first field is the length of the record and the second one is the actual pipe delimited string(The way to send the record can be changed)...
  13. huskers

    data structure...

    I need help in finding an efficient way of storing the following data. I just want to store all the information in one data structure. The data that will be obtained contains the following info: The data contains server names. Each server name will have a socket that it needs to write to...
  14. huskers

    file locking in tcl...

    I have written a package in Tcl to log data to a file. This package creates one file per day and the users can log data to this file. Many users will eventually start using the pacakage and might write to the file at the same time. Is there a way in Tcl to do file locking so that only one...
  15. huskers

    help with string parsing which contain spaces.....

    I have string which I need to parse and load it into database. The string contains 7 columns and is pipe delimited and some columns might be empty spaces. For empty space I need to load them into database as null values but the problem is I can not read the nulls in C. The string to be parsed...
  16. huskers

    parsing string information...

    I also did it using substr() function. Is there any other efficient way?
  17. huskers

    parsing string information...

    Hi, I have the following strings and I need to parse the information into variables like month, date, time, node, process, time_to_insert(1391/1324 from below strings). Sep 7 00:05:01 a3 asdf: 1 p1 --> Time_To_Insert=1391 Sep 14 00:05:01 a3 asdf: 1 p1 --> add=1324 I used the split function...
  18. huskers

    perl DBI question.....

    Hi, I want to add a value to an already existing data in the table. For ex: Table A: a b c 10 20 30 40 50 60 I want to add 50 to column a and column b so that the result looks like this: Table A: a b c 60 70 30 90 100 60 Can anyone tell me if i can acheive this using one sql...
  19. huskers

    help with perl script.....

    Sorry if i am asking a simple question. What is the command for installing the below script as package in perl. package package1; BEGIN { } sub subroutine1 {print "Hello!\n"} sub subroutne2 {subroutine1()} return 1; END { }
  20. huskers

    help with perl script.....

    Hi, I have perl script which contains all functions. Now how can i call these functions from another script. Do i need to install the first script as a package. If so can anyone tell me how i can do it. Thanks in advance

Part and Inventory Search

Back
Top