Loading ...
Sorry, an error occurred while loading the content.
 

Re: WAS [PBML] More efficient script - Now Perl conference in Madison

Expand Messages
  • Randal L. Schwartz
    YAPC? Yes, I m doing a two hour git tutorial. Sent from my iPhone, so blame it for any speeling misteaks.
    Message 1 of 11 , Apr 3, 2012
      YAPC? Yes, I'm doing a two hour git tutorial.

      Sent from my iPhone, so blame it for any speeling misteaks.

      On Apr 3, 2012, at 12:20 PM, "Tim Lewis" <twlewis@...> wrote:

      > Please forgive the hijack Randall. Will you be at the Perl conference in Madison?
      >
      >
      >
      > [Non-text portions of this message have been removed]
      >
      >
      >
      > ------------------------------------
      >
      > Unsubscribing info is here: http://help.yahoo.com/help/us/groups/groups-32.htmlYahoo! Groups Links
      >
      >
      >
    • Paul.G
      Thanks again for everyone s input, much appreciated. ________________________________ From: Shawn H Corey To:
      Message 2 of 11 , Apr 6, 2012
        Thanks again for everyone's input, much appreciated.



        ________________________________
        From: Shawn H Corey <shawnhcorey@...>
        To: perl-beginner@yahoogroups.com
        Sent: Tuesday, 3 April 2012 11:30 PM
        Subject: Re: [PBML] More efficient script


         
        On 12-04-03 09:18 AM, Paul.G wrote:
        > my ($junk1, $junk2, $junk3, $PV) = split(/\s+/, $result);

        Unused items should be undef:

        my (undef, undef, undef, $PV) = split(/\s+/, $result);

        You could alternately use an index:

        my $PV = (split(/\s+/, $result))[3];

        --
        Just my 0.00000002 million dollars worth,
        Shawn

        Programming is as much about organization and communication
        as it is about coding.

        [updated for today's programmers]
        "Show me your code and conceal your interfaces, and I shall continue
        to be mystified. Show me your interfaces, and I won't usually need
        your code; it'll be obvious."
        -- Fred Brooks

        Don't be clever; being great is good enough.



        [Non-text portions of this message have been removed]
      Your message has been successfully submitted and would be delivered to recipients shortly.