Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    ...
    my $colour = 'green';
    my $hex    = eval "\$$colour"; # symbolic reference
    print "$hex\n";