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 Wanet Telecoms Ltd 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. greavesm

    inter process comunication (again..)

    Hello, Sorry if I am being really stupid here but surely the line: if ($child == 0) { #child should actualy be: if ($child != 0) { #child Surely the child should run if it has a PID not equal to 0. If the fork() command has worked the $child variable should have a PID which is not ever...
  2. greavesm

    Newbie - Comparing data in two files

    In addition let me explain: Basically reading each of the two files to compare into an array @file1 and @file2. The start a loop using the first file "foreach $line (@file1)" This says for each entry in the array read the data into $line variable, then use $line to compare with the...
  3. greavesm

    Newbie - Comparing data in two files

    Hello, I would suggest something ike the following: open FILE1, "<file1" or die "Couldn't open file1\n"; @file1 = <FILE1>; open FILE2, "<file2" or die "Couldn't open file2\n"; @file2 = <FILE2>; open FILE3, ">file3" or die "Couldn't open file3\n"; foreach $line (@file1) { if ($line...
  4. greavesm

    Help - ListBox Modification

    I am using TK, see example code: $listboxes = [ $first = $mw->Listbox(), $second = $mw->Listbox(), $third = $mw->Listbox(), $fourth = $mw->Listbox() ]; foreach $list (@$listboxes) { $list->configure(-height=>25, -yscrollcommand =>...
  5. greavesm

    Help - ListBox Modification

    Any Suggestions anyone???
  6. greavesm

    Help - ListBox Modification

    Hello, I have got a Normal Listbox that I want to replace the values in when I recieve an SNMP trap, I can get the trap but I cannot for the life of me find any info on how to change a value in a list box without first deleting it. The program I am writing has several threads and I have got it...

Part and Inventory Search

Back
Top