On 5/1/07, Somu <[EMAIL PROTECTED]> wrote:
 my $s = <>;
 my $t = <>;
 conc ( $s , $t );
 sub conc {
 my $str = $_[0].$_[1];
 print $str;
 }


 Why? It works allright only after add an extra line at the top, that is
  sub conc;
 its become just like C

Your code works just fine for me (no errors).  Would you please
provide the whole file you are working with and a detailed description
of any errors or odd behavior you are observing.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to