Jeff Pang wrote:
Paul Johnson 写道:
Jeff Pang wrote:
Ben Edwards 写道:
I am passing a reference to a hash ($publisher) and a array with an
unknown number of elements (@files). So the call is
delete_from_publishers( $publisher, @files )
mnnn,don't pass an original array to a subroutine at anytime.
delete_from_publishers($publisher,[EMAIL PROTECTED]);
then in the subroutine,
my $hash_ref = shift;
my $array_ref = shift;
This would make things more clear.
What, never?
http://pjcj-sings-opera.org/HMS-Pinafore.mp3
Hmmmm! surely you can do anything you like, no one blame you.
I just suggest the better and clear way.
No Jeff, you suggested a way thought was better and at Paul and I disagree
with you.
Clearly you think printf() has been written wrongly? The call would be
printf "Value1: %d, Value2: %d\n", [42, 69];
if you had your way.
Rob
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/