Search results

  1. H

    hopefully an easy perl script?

    background info - I am writing a shell script that is to build a sql script based on certain parameters. INPUT: and to_number(substr(ID,1,9)) in ( 009645316, 343740992, 400292219, 407335191, 409457202, 413510212, 415638303, ) output: and to_number(substr(ID,1,9)) in ( 009645316...
  2. H

    hopefully an easy perl script?

    background info - I am writing a shell script that is to build a sql script based on certain parameters. INPUT: and to_number(substr(ID,1,9)) in ( 009645316, 343740992, 400292219, 407335191, 409457202, 413510212, 415638303, ) output: and to_number(substr(ID,1,9)) in ( 009645316...
  3. H

    perl expression statement?

    I'm teaching myself perl on the fly, and I can't find any good documentation on regular expressions and delimiters that don't involve "Hello World." Can you help me decipher what this expression is doing? if (/^WAIT #(\d+): nam='([^']*)' ela=\s*(\d+)/i) the input is a oracle trace file, and...
  4. H

    Perl scripting, tkprof, and tracing?

    I'm trying to teach myself perl, and I was given this canned script that runs a quasi-tkprof. Here's my code: use strict; use warnings; my $cid; # cursor id my %ela; # $ela{event} contains sum of ela statistics for event my $sum_ela = 0; # sum of all ela times across...
  5. H

    Perl scripting, tkprof, and tracing?

    I'm trying to teach myself perl, and I was given this canned script that runs a quasi-tkprof. Here's my code: use strict; use warnings; my $cid; # cursor id my %ela; # $ela{event} contains sum of ela statistics for event my $sum_ela = 0; # sum of all ela times across...
  6. H

    Perl scripting, tkprof, and tracing?

    I'm trying to teach myself perl, and I was given this canned script that runs a quasi-tkprof. Here's my code: use strict; use warnings; my $cid; # cursor id my %ela; # $ela{event} contains sum of ela statistics for event my $sum_ela = 0; # sum of all ela times across...
Back
Top