<br>But, $^ is assignable and, if set to the empty string, <br>invalidates /$^/ as a regex that won&#39;t match anything:<br><br>perl -wle &#39;$^=&#39;&#39;&quot;; print &quot;match&quot; if &quot;foo&quot; =~/$^/&#39;<br>
match<br><br>-- <br>Charles DeRykus<br><br><br><div class="gmail_quote">On Fri, Aug 21, 2009 at 11:12 PM, Michael R. Wolf <span dir="ltr">&lt;<a href="mailto:MichaelRWolf@att.net">MichaelRWolf@att.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><br>
On Aug 19, 2009, at 12:38 AM, Ingy dot Net wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
On Tue, Aug 18, 2009 at 10:33 PM, Steve Sandvik &lt;<a href="mailto:ssandv@gmail.com" target="_blank">ssandv@gmail.com</a>&gt; wrote:<br>
well, /$^/ seems like a plausible starting point.  Or ending point.<br>
Or something. :-)<br>
<br>
Nope.<br>
<br>
    $^ = &quot;&quot;;<br>
    $anything =~ /$^/;<br>
</blockquote>
<br>
<br></div>
I&#39;m missing your point.<br>
<br>
If you mean to indicate that interpolation happens inside m//, and that $^ is an internal perlvar (with $FORMAT_TOP_NAME as a &#39;use English&#39; equivalent), then it is *not* an empty string.  Here&#39;s the one-liner to show that...<br>

<br>
$ perl -le &#39;print $^&#39;<br>
STDOUT_TOP<br>
$<br>
<br>
But, perhaps I missed your intent.<br><font color="#888888">
<br>
-- <br></font><div><div></div><div class="h5">
Michael R. Wolf<br>
    All mammals learn by playing!<br>
        <a href="mailto:MichaelRWolf@att.net" target="_blank">MichaelRWolf@att.net</a><br>
<br>
<br>
<br>
<br>
_____________________________________________________________<br>
Seattle Perl Users Group Mailing List<br>
    POST TO: <a href="mailto:spug-list@pm.org" target="_blank">spug-list@pm.org</a><br>
SUBSCRIPTION: <a href="http://mail.pm.org/mailman/listinfo/spug-list" target="_blank">http://mail.pm.org/mailman/listinfo/spug-list</a><br>
   MEETINGS: 3rd Tuesdays<br>
   WEB PAGE: <a href="http://seattleperl.org/" target="_blank">http://seattleperl.org/</a><br>
</div></div></blockquote></div><br>