apple boy cat
but it printing in different waycat apple boy
Please find the following code
#!/usr/bin/perl use strict; use warnings; my %hash2=( a => "apple", b => "boy", c => "cat" ); my @keys=keys %hash2; foreach my $s (@keys) { print "$hash2{$s} "; }
Thanks.
In reply to Printing Output in different way by sarshads
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |