> I'm trying to use the random_image.pl program from the nms-cgi project
> on sourceforge.net.
>
> This line has me baffled:
>
>       if ( $baseurl !~ m%/$% )
>
>
> I don't understand the function of the percent symbols.
> I hope someone can explain what it's doing.


you can define matching criteria by using  / ... / or | ... | or % ...
% and probably a couple of others.


In this case % has been used


Owen




-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to