I am new to perl I want to know how I would get print my result
my $what = ram; /($what){3}/; print $what;
As you have seen above that it should print ramramram but its printing only ram. Please help me out.
In reply to simple regular expression printing by gaurav
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |