Hi Chris,
Thanks for your detailed email and for your time. I
think my second email crossed your email. The book I
read on Perl did not mention anything about first and
second half, and that didnt explain, me that we were
replacing all upsto last / by nothing. I thought it is
replacing with / itsel
On Sun, 19 Jun 2005, MEENA SELVAM wrote:
> can anyone please explain?
See `perldoc perlre`, or `man perlre`, or a book like _Learning Perl_ or
_Mastering Regular Expressions_ for this kind of thing.
It's really an introductory question that any decent introductory text
should be able to cover
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 = $
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
R