Melissa Cama wrote:
> 
> Hi,

Hello,

> I need to pass the value of a variable to another sub.  Is this possible?

sub times4 {
    my ($number) = @_;
    return $number * 4;
    }

print times4( 5 ), "\n";


For all the details see:
perldoc perlsub


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to