On Tue, 19 Jun 2001 [EMAIL PROTECTED] wrote:
> I don't understand the regex s#.*/##s
>
> (given as part of the solution to problems 2 and 3)
>
> more specifically, I don't know what the last 's' does
> to the regex.
It lets . match a newline (\n). It also will make the match ignore $*
-- which you shouldn't be using anyway :-)
-- Brett
http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
The best prophet of the future is the past.
- Learning Perl chpt.13 problem patroclus_1
- Re: Learning Perl chpt.13 problem Brett W. McCoy
- Re: Learning Perl chpt.13 problem n6tadam
- Re: Learning Perl chpt.13 problem Randal L. Schwartz
- Re: Learning Perl chpt.13 problem Nigel Wetters
