W
Winston
Is possible to create an array from an escalar? $var = alfafla;
I want to know if any $var is palindrome. And seems really difficult
using regex, but is very easy if it would be an array.
And what about if I want to check if $var2 has all $var's letters? ($var
=~ /[$var2]+/ ?
And if $var has a letter many times in any position? $var =~
/($letter)*\1/ ?
What is the best book for regular expressions?
I want to know if any $var is palindrome. And seems really difficult
using regex, but is very easy if it would be an array.
And what about if I want to check if $var2 has all $var's letters? ($var
=~ /[$var2]+/ ?
And if $var has a letter many times in any position? $var =~
/($letter)*\1/ ?
What is the best book for regular expressions?