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 )
Currently the beginning of the sub is:-
sub remove_files_from_ftp_server {
my $pub_detail = $_[0];
my $args = @_;
my @files = @_[1..($args-1)];
This works fine but is a bit messy. Is there a better way of acheving
the same result?
Regards,
Ben
--
Ben Edwards - Bristol, UK
If you have a problem emailing me use
http://www.gurtlush.org.uk/profiles.php?uid=4
(email address this email is sent from may be defunct)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/