User Profile

Collapse

Profile Sidebar

Collapse
ravikim1
ravikim1
Last Activity: Nov 15 '10, 02:41 PM
Joined: Nov 29 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ravikim1
    replied to what kind of data sturcture is this ?
    in Perl
    Hi thanks for your reply...the link was very help ful....
    also I feel that it is an hash of array of hashes.....
    See more | Go to post

    Leave a comment:


  • ravikim1
    started a topic what kind of data sturcture is this ?
    in Perl

    what kind of data sturcture is this ?

    I have a the following code snippet :
    Code:
       foreach my $table (keys %config::db_columns)
        {
    	my $select_stmt = 'select ' . lc(join(',', @{$config::db_columns{$table}}));
    
    	$select_stmt .= " from $table";
    	if ($table eq 'employeeview') { $select_stmt .= ' where present=1'; }
    
            my %db_data = undef;
    	$sth = $dbh->prepare("$select_stmt");
    	if ($sth->execute)
    ...
    See more | Go to post
    Last edited by numberwhun; Jan 4 '10, 09:54 PM. Reason: Please use code tags!

  • how do i sort in a descending order using perl Sort::External Module

    Hi ,

    Code:
    use Sort::External;
    $output = '1.txt';    
    open(FILE, $output);
    my $sortex = Sort::External->new( mem_threshold => 1024**2 * 1024 );
    while (<FILE>) 
    {
       $sortex->feed($_);  # tried to change it to ~$_ but did not work !!!!!
    }
    use Fcntl;
    $sortex->finish(
            outfile => 'desc_Sorted_04323697_pbragg02@sprintpcs.com_.txt',
    ...
    See more | Go to post
No activity results to display
Show More
Working...