Welcome to the Monastery | |
PerlMonks |
match expression from queryby PerlSufi (Friar) |
on Sep 19, 2013 at 17:25 UTC ( [id://1054886]=perlquestion: print w/replies, xml ) | Need Help?? |
PerlSufi has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks,
I would like to match an expression from a database query. Here is snippet of my code:
when I run my script, I get the error: For now, I was trying to match anything after the forward slash to see if it worked. But in actuality, I want to match for whole word after the forward slash. I think this can be done with \w So for now, I would like to ask: how do I match an expression from the query? I intend to use the 'name' variable for another part of my script later. Any insight is greatly appreciated ;) UPDATE: I ended up going with Spreadsheet::ParseExcel to get the string that I wanted.
Back to
Seekers of Perl Wisdom
|
|