in reply to Re^3: Putty Session Generator
in thread Putty Session Generator

sub mysub { $foo ++; some_other_sub($bar); }

should read

sub mysub { my ($foo, $bar) = @_; #do stuff with $foo and $bar }

and not

sub mysub { my ($foo, $bar) = @ARGV; #do stuff with $foo and $bar }

Replies are listed 'Best First'.
Re^5: Putty Session Generator
by thor (Priest) on Oct 25, 2004 at 20:22 UTC
    You're absolutely right. Brainfart...fixed. Thanks.

    thor

    Feel the white light, the light within
    Be your own disciple, fan the sparks of will
    For all of us waiting, your kingdom will come