<html style="direction: ltr;">
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
  </head>
  <body style="direction: ltr;"
    bidimailui-detected-decoding-type="UTF-8" bgcolor="#FFFFFF"
    text="#000000">
    <div class="moz-cite-prefix">Mojo::URL (install Mojolicious to get
      it) seems to parse that URL fine:<br>
      <br>
      perl -MMojo::URL -le '$a =
      Mojo::URL-&gt;new(q{<a class="moz-txt-link-freetext" href="rtmp://eurolive.fc.llnwd.net/eurolive/s_768x576_905_adaptive1?e=1376382853&amp;h=f08c3ee7811e3565d2451b913b266e5c">rtmp://eurolive.fc.llnwd.net/eurolive/s_768x576_905_adaptive1?e=1376382853&amp;h=f08c3ee7811e3565d2451b913b266e5c</a>});
      print join qq{\n}, $a-&gt;protocol, $a-&gt;host, $a-&gt;path,
      $a-&gt;query; '<br>
      <br>
      prints:<br>
      rtmp<br>
      eurolive.fc.llnwd.net<br>
      /eurolive/s_768x576_905_adaptive1<br>
      e=1376382853&amp;h=f08c3ee7811e3565d2451b913b266e5c<br>
      <br>
      <br>
      On 08/13/2013 12:14 PM, Chanan Berler wrote:<br>
    </div>
    <blockquote
cite="mid:CADKpJqZGv8egyrqGWHpn0zrKd-aCPiRKitA9a7ZGZzFHPivWuA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>Hi All,<br>
              <br>
              Does anyone knows a way to parse RTMP urls? into
              segements?<br>
            </div>
            I tried using URI::URL but if fails :(<br>
          </div>
          cannot extract full path, schema.....<br>
          <br>
        </div>
        URL Sample:
        <p class="" style="margin:0cm 0cm 0.0001pt"><span
            style="font-size:10pt;font-family:&quot;Segoe
            UI&quot;,&quot;sans-serif&quot;;color:black"><a class="moz-txt-link-freetext" href="rtmp://">rtmp://</a><a
              moz-do-not-send="true"
              href="http://eurolive.fc.llnwd.net/eurolive/s_768x576_905_adaptive1">eurolive.fc.llnwd.net/eurolive/s_768x576_905_adaptive1</a></span><span
            style="font-size:10pt;font-family:&quot;Microsoft Sans
            Serif&quot;,&quot;sans-serif&quot;;color:black">?e=1376382853&amp;h=f08c3ee7811e3565d2451b913b266e5c</span><span
            style="font-size:10pt;font-family:&quot;Segoe
            UI&quot;,&quot;sans-serif&quot;;color:black"></span></p>
        <p class="" style="margin:0cm 0cm 0.0001pt"><br>
        </p>
        <p class="" style="margin:0cm 0cm 0.0001pt">Regards</p>
        <p class="" style="margin:0cm 0cm 0.0001pt">Chanan<br>
        </p>
        <div>
          <div>
            <div>
              <div><br>
                -- <br>
                ===================<br>
                ----     Chanan Berler    ----<br>
                ===================
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Perl mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Perl@perl.org.il">Perl@perl.org.il</a>
<a class="moz-txt-link-freetext" href="http://mail.perl.org.il/mailman/listinfo/perl">http://mail.perl.org.il/mailman/listinfo/perl</a></pre>
    </blockquote>
    <br>
  <br />-- 
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.
</body>
</html>