#!/usr/local/bin/perl use strict; use warnings; my $string = "gangsterr"; #my @array = split(//, $string); my @array = unpack("C*", $string); print "@array\n";