yeah this fine.Thank u
.I have similar doubt.Please help me with is
suppose
#!/usr/bin/perl use strict; $string='i am using perl'; $pattern = 'iamusingper' if ($string =~$pattern) print "match found"
Now $string has space in between words and $pattern does not have space in between.
how should i ignore the space inorder to match
In reply to Re^2: Generalising string in pattern
by rajyalakshmi
in thread Generalising string in pattern
by rajyalakshmi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |