Hi ,
in $prog =~ s/^.*\///;
is it trying to substitute all characters until the
last / within $prog?

meena

--- MEENA SELVAM <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> can anyone please explain?
> 
> In the following code snippet, what is the meaning
> of
> the pattern match
> s/^.*\///
> 
> $prog = $0;
> $prog =~ s/^.*\///
> 
> i did not get details when i searched in google
> thanks,
> meena
> 
> 
>               
> ____________________________________________________
> 
> Yahoo! Sports 
> Rekindle the Rivalries. Sign up for Fantasy Football
> 
> http://football.fantasysports.yahoo.com
> 
> -- 
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> <http://learn.perl.org/>
> <http://learn.perl.org/first-response>
> 
> 
> 



                
____________________________________________________ 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to