in reply to Re: Applying a RegEx in a variable
in thread Applying a RegEx in a variable
Hmmmmmm.....Actually....no ;))
I have no influence over the regex, it could come
from a file, or from user input... it`s really a
scalar...
BUT!..... I can do
I`m going to explore this a bit more....
So actually it DID help!! .....Thanks! ;)))
... A little bit later ...
Hmmmmm.... maybe it didn`t help... I`ll try some more ;))
... A little bit more later ...
Okay.. I got it to work!! cheer!!... I`ll post the code where
it`s going to be in hopefully next week.... thanks!!
GreetZ!,
print "profeth still\n" if /bird|devil/;
I have no influence over the regex, it could come
from a file, or from user input... it`s really a
scalar...
BUT!..... I can do
For wich I can build a working construct... hmmmm...my $Tmp="/a/i"; my $RegEx=eval "qr$Tmp";
I`m going to explore this a bit more....
So actually it DID help!! .....Thanks! ;)))
... A little bit later ...
Hmmmmm.... maybe it didn`t help... I`ll try some more ;))
... A little bit more later ...
Okay.. I got it to work!! cheer!!... I`ll post the code where
it`s going to be in hopefully next week.... thanks!!
GreetZ!,
- ChOas
print "profeth still\n" if /bird|devil/;
|
---|
In Section
Seekers of Perl Wisdom