Using The _ (Under Score) In Float Point Number in Perl

This article demonstrates the implementation of Using the _ (under score) in float point number



Implementation

#!/usr/bin/perl -w

use strict;

print "Currency converter\n\nPlease enter the exchange rate: ";
my $yen = <STDIN>;

print "49518 Yen is ", (49_518/$yen), " dollars\n";