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 dencom 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: *

  • Users: perln00b
  • Content: Threads
  • Order by date
  1. perln00b

    How to call stored procedure from Perl

    I created a stored procedure from Oracle9i to deal with some data transactions from DB to DB. I am going to use Perl to handle the following actions: 1) connect to the database 2) call stored procedure 3) catch any messages from DBMS_OUTPUT.print_line() inside my stored procedure. Does...
  2. perln00b

    Data Structure and Memory

    Thank you Trojan and Kevin giving me a good lesson on comparison by using hash. However, I have some concerns about memory and hash. I want to use the same structure showed below to load all my data into hashes, and so I can compare the incoming data before I can insert or update the data...
  3. perln00b

    Removing an element from array

    Support I have two arrays, and each of them doesn't have repeat elements. And compare the first array to the second one, if element repeats in 2nd array, the element has to be removed from the 1st one. i.e. ################################################### @arry1 = ("1", "2", "3"); @arry2 =...
  4. perln00b

    Open file

    I tried to create a simple script to open a file, and I always got this error msg, "Use of uninitialized value in concatenation (.) or string at readfile.pl line 5. readline() on closed filehandle LOG at readfile.pl line 7." Here is my code...
  5. perln00b

    Find Dups from Array Itself

    I really new in Perl. I tried to create a simple script to find the duplicate items in array. Here is my source code: ########################################################### @arry = ("1", "2", "2", "2", "3", "3"); @dups = (); @copiedArry = @arry; $size = @arry; $arryLoc = $size - 1; for...
  6. perln00b

    Hash of Hashes ( again )

    From the last post, first, thank you for your reponses, but I am still not clear about "hash of hashes". I have one more example here, support, ######################################################### $statement = "select A, B , C from myTable"; if ($db -> Sql($statement)) { # ..doing error...
  7. perln00b

    Hash of Hashes

    I am new in Perl script. I get a real headache to understand "hash of hashes". Could someone please explain to me? Here is some example codes: "... if($tempids{'IP'}{ $IP { $hostname } }{ $resourceID } !=1 ) { $add_detail{'IP'}{$resourceID}{$IP{$hostname}} = 1; } ... " Thanks, Lucas

Part and Inventory Search

Back
Top