Hello all,

I have a string which comes from a database entry which looks like:

$temp = "XXXXX'YYYY'ZZZZ";
now i want to remove all the single qoutes from this string ( ' ) so
as to make it looks like:

"XXXXXYYYYZZZZ"

I am trying to write a simple regex for it but its not working for me.

$temp = ~s/^'$//g;

i know there is something wrong with the ( ' ) 's . But dont know what.


Please advice whats going wrong here, and whats the idea behind this.


Thanks
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to