On 5/1/07, Chas Owens <[EMAIL PROTECTED]> wrote:
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.


Also what version of Perl you are using and on what platform.

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


Reply via email to