[PHP] help with perl equivalent ?

2003-01-24 Thread R'twick Niceorgaw
Hi all, I'm pretty much a stranger to perl and now got to convert a perl script to php. however, at once place I can not understand what the lines are doing and what could be the equivalent of them in php. Could some one help me with this ? Here's my perl code : $choice=~s/\.rm//;

Re: [PHP] help with perl equivalent ?

2003-01-24 Thread Sean Burlington
R'twick Niceorgaw wrote: Hi all, I'm pretty much a stranger to perl and now got to convert a perl script to php. however, at once place I can not understand what the lines are doing and what could be the equivalent of them in php. Could some one help me with this ? Here's my perl code :

Re: [PHP] help with perl equivalent ?

2003-01-24 Thread R'twick Niceorgaw
Thanks Sean That worked :) -R'twick - Original Message - From: Sean Burlington [EMAIL PROTECTED] To: R'twick Niceorgaw [EMAIL PROTECTED] Cc: php [EMAIL PROTECTED] Sent: Friday, January 24, 2003 11:07 AM Subject: Re: [PHP] help with perl equivalent ? R'twick Niceorgaw wrote: Hi all