in reply to Hex to array conversion
Works too:
GreetZ!,
print "profeth still\n" if /bird|devil/;
my @rgb = map {hex($_) } unpack 'xa2a2a2', "#FF00FF"; print "(",join(',',@rgb),")\n";
GreetZ!,
- ChOas
print "profeth still\n" if /bird|devil/;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Hex to array conversion
by bart (Canon) on Oct 08, 2007 at 14:32 UTC |
In Section
Seekers of Perl Wisdom