@word_list = split //, $word; $nrOfLetters = @word_list; Erik Browaldh wrote: > > hi everyone! > > if I have a string, lets say > $word="perl"; > > I want to copy this so I have something like this: > @word_list["p","e","r","l"] > > also, how do I get the length of @word_list? > > thanks in advance! > Erik > > -- > To unsubscribe, e-mail: beginners-unsubscribe@perl.org > For additional commands, e-mail: beginners-help@perl.orgThread Previous