J
justme
hi
i have an initial string such as
$initial = "qqqqqqqq";
a user needs to input another string
$string =<STDIN>;
If this user were to key in exactly 8 q's then it will match and do
something.
But i have a problem when the user key in 5 or 6 q's, it will still
match, which i do not want.
how can i overcome this problem..?
thanks
i have an initial string such as
$initial = "qqqqqqqq";
a user needs to input another string
$string =<STDIN>;
If this user were to key in exactly 8 q's then it will match and do
something.
But i have a problem when the user key in 5 or 6 q's, it will still
match, which i do not want.
how can i overcome this problem..?
thanks