Perl has many ways to perform "surgery" . What would the most efficient code be to extract "author" from this string...
$a = "author.234098333abc"
I need code for...
$userID = ???? what??? (to make $userID = "author".
I know there are a lot of different ways to do this. But, coming from an old-time basic programmer point of view I have a tendancy to thinking along "Basic" code. I have found that perl can handle things much more efficiently and would like some ideas.
Thanks
TimRyan
[This message has been edited by timryan (edited August 26, 1999).]
$a = "author.234098333abc"
I need code for...
$userID = ???? what??? (to make $userID = "author".
I know there are a lot of different ways to do this. But, coming from an old-time basic programmer point of view I have a tendancy to thinking along "Basic" code. I have found that perl can handle things much more efficiently and would like some ideas.
Thanks
TimRyan
[This message has been edited by timryan (edited August 26, 1999).]