ikkon has asked for the wisdom of the Perl Monks concerning the following question:
Also after this pdf is created I am trying to display this to the browser, some have tried to explain to me but I have yet been able to undertand for some reason.my @fixCur =($hardwareValue1, $hardwareValue2); checkCurrency(@fixCur); sub checkCurrency{ for (@_){ if ($currency == "Euro (EUR)") { $_ =~ s/€//g; }elsif ($currency == "Japan, Yen(JPY)") { $_ =~ s/Â/ /g; }elsif ($currency == "United Kingdom, Pound(GBP)") { $_ =~ s/Â/ /g; } } }
thanks for any help!open(PDF, "LeasevsBuy.pdf") or die "could not open PDF [$!]"; binmode PDF; close(PDF); print "Content-Type: application/pdf\n"; print "Content-Length: " .length($output) . "\n\n"; print <PDF>;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Passing Array to Function for search and Replace
by Tanktalus (Canon) on Jan 08, 2007 at 18:43 UTC | |
by ikkon (Monk) on Jan 08, 2007 at 19:01 UTC | |
|
Re: Passing Array to Function for search and Replace
by ikegami (Patriarch) on Jan 08, 2007 at 18:45 UTC | |
|
Re: Passing Array to Function for search and Replace
by ikegami (Patriarch) on Jan 08, 2007 at 18:37 UTC | |
by ikkon (Monk) on Jan 08, 2007 at 18:42 UTC | |
by ikegami (Patriarch) on Jan 08, 2007 at 18:50 UTC |