roc has asked for the wisdom of the Perl Monks concerning the following question:
values are the multiple values with a single key name like process_name as a key and linux,unix are the values assigned to that particular key.sub bee_global_symbolics{ sub bee_global_symbolics{ my ($dbinfo,$process_id,$process_step_seq,$as_of_date,$process_executi +on_id, $sourcedir,$rootdir,$system_id,$global_files_flag)=@_; print $process_id,$process_step_seq,$global_files_flag; my $rc=SUCCESS; my ($msg,$msg_txt); #messenger is an 'our' object ref declared in bee_main +.pl #set caller so that all written msgs will have prefix +of Extract $Messenger->set_caller("Load Symbolics"); $msg_txt="bee_global_symbolics.pm started"; $Messenger->write_message($msg_txt,'I'); my @symbolics = &get_global_symbolics($dbinfo,$process_id,$process_ste +p_seq); my ($symbolic_name,$symbolic_flag,$source_sql) = @symbolics; print "$symbolic_name\n"; print "$symbolic_flag\n"; $sth1=$dbinfo->{'dbh'}->prepare("$source_sql"); if ( $sth1->execute ) { $dbinfo->{'oraerr'} = "Error Executing sql : >$DBI::errstr<"; } @valuelist = $sth1->fetchrow_array(); $sth1->finish;
till here i have done now and have to set those values as global by using tie::hash module or any module.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: html to text file
by Popcorn Dave (Abbot) on Feb 28, 2008 at 19:38 UTC | |
|
Re: html to text file
by Akoya (Scribe) on Feb 28, 2008 at 18:39 UTC | |
|
Re: html to text file
by mr_mischief (Monsignor) on Feb 28, 2008 at 23:05 UTC |