Hi,

On Sun, May 25, 2008 at 11:56:03PM +0200, Henry Loenwind wrote:

>   if ($rule_file =~ m!(.*)[/\\](.*)! && defined($data))
>   {
>       $data = $1.'/'.$data;
>   }

What about:

if ($rule_file =~ m!(.*[/\\])(.*)! && defined($data))
{
    $data = $1.$data;
}

Bye
Frederik

-- 
Frederik Ramm  ##  eMail [EMAIL PROTECTED]  ##  N49°00'09" E008°23'33"


_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome

Reply via email to