On 5/25/05, Manav Mathur wrote:
>
> our $rupee = ;
> chomp($rupee) ;
Vineet,
This is a quote from "perldoc perlop":
"In scalar context, evaluating a filehandle in angle brackets yields
the next line from that file (the newline, if any, included),"
Manav's solution involves removing the newline us
you forgot to chomp both your currency holders. Both contain a newline at
the end, but the second one _appears_ ok to your eyes coz its the end of the
line. You should chomp both (as shown below), and then format your output
with any newlines if necessary...
|-Original Message-
|From: Vin