hi mortiz, you always adress me to that page and i always read that but still i ahve problem.:-(

this is my main script that i used this subroutine

#!/usr/bin/perl -w use strict; my %genome1; my %genome2; my @files; my $file; #input first genome file name. print "Enter the first genome fasta file=\n"; my $filename=<>; #analyze the genome.getting domains,number of domains and their combin +ations. analyze_genome($filename); %genome1=n_nn(); for my $key (keys %genome1){ print "$genome1{$key}\n"; } #delet useless files. @files = ("domainlist","result","first"); for my $file (@files) { unlink $file or warn "Couldn't remove '$file': $!"; }; #input second genome file name. print"Enter the second genome fasta file=\n"; $filename=<>; analyze_genome($filename); %genome2=n_nn(); #delet usless files. @files = ("domainlist","result","first"); for my $file (@files) { unlink $file or warn "Couldn't remove '$file': $!"; }; #calculate domain versatility for each domain in the genomes. versatility(%genome1,%genome2); exit;

In reply to Re^2: two hashes in subroutin by Anonymous Monk
in thread two hashes in subroutin by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.