hi!
I have these four lines of code in a script:
They are in that sequence, and one right after the other (nothing between any of these four lines). I'm curious if it's possible to make this into just one line, so it doesn't have to process $sqry four times. Any ideas?
I have these four lines of code in a script:
Code:
$sqry =~ s/'\w*/ /s;
$sqry =~ s/"//g;
$sqry =~ s/\s*//s;
$sqry =~ s/\s*$//;
They are in that sequence, and one right after the other (nothing between any of these four lines). I'm curious if it's possible to make this into just one line, so it doesn't have to process $sqry four times. Any ideas?