View Single Post
Old 12-21-2003, 10:47 AM   #2 (permalink)
Apodysophilia
Regular Contributor
 
Apodysophilia's Avatar
 
Join Date: Apr 2003
Location: noWhere, PA
Posts: 104
Apodysophilia is on a distinguished road
Send a message via AIM to Apodysophilia
ok,i figured out something, now i am just more confused
Code:
$temp = <> ;
also works for input, so what does STDIN stand/used for?

[edit]back to argurment, i kindof got it but sill am confused
Code:
sub test
{
	$temp = shift(@_) ;
	print "the add is $temp";
}
	
test(23);
what does the shift() do. and why does it have to be an array?
Apodysophilia is offline   Reply With Quote