Is there a way to underline the text is a perl output script? I have read from several sources but the text in the scripts can't be underlined.
An error outputs: Global symbol "$finalAddition" requires explicit package name at C:\Documents and Settings\PCS\Desktop\Perl Scripts\script.pl line 7.
The Script Codes:
#!/usr/bin/perl
use warnings;
use strict;
use Term::ANSIColor;
$finalAddition = 8;
print "\n\nThe Final Number after addtion would be ".coloured($finalAddition, 'bold
underline');
Please give some advice on this. Thanks.