#!/usr/bin/perl -w use strict; use Data::Dumper; $_ = "{Just} another, Perl*hacker."; my @rray = split /[{},*]/, $_; print Dumper( \@rray);