V
Vinod
hi!!
I am a beginner with Perl. am rtying to use the repetition feature as
in -
print 'a'x5;
would print 'aaaaa'
I am trying to use it with regular expressions.
I am trying to replace an occurence of 'there' with 'aaaaa' but I dont
want to put it there explicitly.
I am trying something like....
s/there/'a'x5/;
which doesnt work.
Can someone give me some sort of an escape sequence...?
Thank you
Vinod
I am a beginner with Perl. am rtying to use the repetition feature as
in -
print 'a'x5;
would print 'aaaaa'
I am trying to use it with regular expressions.
I am trying to replace an occurence of 'there' with 'aaaaa' but I dont
want to put it there explicitly.
I am trying something like....
s/there/'a'x5/;
which doesnt work.
Can someone give me some sort of an escape sequence...?
Thank you
Vinod