in reply to Re: Re: Re: Returning Values from Subroutinesin thread Returning Values from Subroutines
#!/usr/local/bin/perl print add(1,2); sub add{ $_[0]+$_[1]; } [download]
sub add{ shift+shift; } [download]
blokhead