<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Here are the answers that I didn't have
      at the presentation:<br>
      <br>
      <ul>
        <li>$$ is spelled $*PID in Perl 6</li>
        <ul>
          <li><a class="moz-txt-link-freetext" href="http://doc.perl6.org/language/variables">http://doc.perl6.org/language/variables</a></li>
        </ul>
        <li>What's the deal with use strict and why didn't we see an
          error in loop.p6</li>
      </ul>
      <p>So, use strict is the default in Perl 6:<br>
      </p>
      <p><tt>#!/usr/bin/env perl6</tt><tt><br>
        </tt><tt><br>
        </tt><tt>use v6;</tt><tt><br>
        </tt><tt><br>
        </tt><tt>$foo = 'bar';</tt><tt><br>
        </tt><tt>say $foo;</tt><tt><br>
================================================================================</tt><tt><br>
        </tt><tt>perl6 use_strict.p6</tt><tt><br>
        </tt><tt>===SORRY!=== Error while compiling
          C:\development\perl6/use_strict.p6</tt><tt><br>
        </tt><tt>Variable '$foo' is not declared</tt><tt><br>
        </tt><tt>at C:\development\perl6/use_strict.p6:5</tt><tt><br>
        </tt><tt>------> <BOL><HERE>$foo = 'bar';<br>
        </tt><br>
        <tt>--------------------------------------------------------------------------------<br>
        </tt></p>
      <p>So this is why I didn't get the above error (boiled down to a
        simpler form):<br>
      </p>
      <p><tt>#!/usr/bin/env perl6</tt><tt><br>
        </tt><tt><br>
        </tt><tt>use v6;</tt><tt><br>
        </tt><tt><br>
        </tt><tt>loop (my $number = 1; $number <= 10; $number++) {</tt><tt><br>
        </tt><tt>  say "loop \$number: $number";</tt><tt><br>
        </tt><tt>}</tt><tt><br>
        </tt><tt><br>
        </tt><tt>say $number;</tt><br>
      </p>
      <p>Because I declared <tt>$number</tt> as a my variable in <tt>loop,</tt>
        <tt>$number</tt> is a <tt>my</tt> variable outside the scope of
        the <tt>loop</tt>.<br>
        <tt>
        </tt></p>
      <ul>
        <li>Does P6 still support read/write mode when opening files?</li>
        <ul>
          <li>Yes. Use the <tt>:rw</tt> option</li>
        </ul>
        <li><tt>shift @_</tt> vs <tt>shift</tt></li>
        <ul>
          <li>Bare <tt>shift</tt> definitely does not work. I'll need
            to do some more research as to why. In Perl 6 you won't
            really want to do this, as you have true function signatures
            available. So I don't see that this is really a big issue.
            :)</li>
        </ul>
        <li>What happened to <tt>wantarray</tt>?</li>
        <ul>
          <li>It's easier to answer this just by posting the link to the
            answer:
            <a class="moz-txt-link-freetext" href="http://doc.perl6.org/language/5to6-perlfunc#wantarray">http://doc.perl6.org/language/5to6-perlfunc#wantarray</a><br>
          </li>
        </ul>
      </ul>
      <br>
      On 2/3/2016 9:42 AM, Douglas E. Miles wrote:<br>
    </div>
    <blockquote cite="mid:56B22E0A.8070704@veritablesoftware.com"
      type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      <div class="moz-text-flowed" style="font-family: -moz-fixed;
        font-size: 12px;" lang="x-western">Please RSVP if you haven't
        already!<br>
        <br>
        <b>I need all RSVPs by Wednesday 02/03/2016 by noon.</b><br>
        <br>
        Doug Miles will be presenting "Introduction to Perl 6 Part 2".
        The meeting will be Thursday 02/04/2016 at 6:45 PM for pizza and
        7:00 PM for the presentation. Please RSVP so we know how much
        pizza to order...<br>
        <br>
        Ticketmaster<br>
        1375 N Scottsdale Rd<br>
        Suite #200<br>
        Scottsdale, AZ 85257<br>
        <br>
        The cross-streets are Scottsdale Rd. just South of East McDowell
        Rd. Here is a Google Map with location and parking information:
        <br>
        <br>
        <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://maps.google.com/maps/ms?msid=200461628741882245806.0004cea13f6b44f7b068a&msa=0&ll=33.465219,-111.922118&spn=0.001748,0.003484">https://maps.google.com/maps/ms?msid=200461628741882245806.0004cea13f6b44f7b068a&msa=0&ll=33.465219,-111.922118&spn=0.001748,0.003484</a><br>
        <br>
        You may park on SkySong Blvd, between the two buildings or in
        any of the uncovered parking to the North. Ticketmaster is on
        the second floor of the South building.<br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Phoenix-pm mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Phoenix-pm@pm.org">Phoenix-pm@pm.org</a>
<a class="moz-txt-link-freetext" href="http://mail.pm.org/mailman/listinfo/phoenix-pm">http://mail.pm.org/mailman/listinfo/phoenix-pm</a></pre>
    </blockquote>
    <br>
  </body>
</html>