Finance-Currency-Convert-BChile

 view release on metacpan or  search on metacpan

lib/Finance/Currency/Convert/BChile.pm  view on Meta::CPAN

}

=head2 update

Obtains the data from bcentral page.
You can pass a fake value as a parameter. In this case there's no
update from bcentral site.

=cut

sub update {
	my $self     = shift;
	my $simulate = shift;

	if ($simulate) {
		$self->{'dolar'} = $simulate;
		$self->{'fecha'} = 'UNKNOWN';

		return 1;
	}

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.677 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )