i just dont get it bah.
this works, i found a tut on it
Code:
#!/usr/bin/perl
sub test
{
$temp = $_ for @_;
print "the var is $temp";
}
test(34);
i dont knwo what the "$_ for @_ " does? and that only works for one argument. what if i want more?
and that doesnt work for text, how do i do it for text?
and
how do i terminate this. or/and is there a better way to get input from the keyboard?
thanks for you time
