[Kc] billboard on I-35 uses perl

John Reinke jmreinke at gmail.com
Wed Oct 21 12:43:36 PDT 2009


I just saw it while driving home last night. Had I known where it was, I
would have attempted to snap a picture with my phone.
And yes, Jason, you need to take a break from programming.  ;-)

It was a standard (non-electronic) billboard, trying to get people to figure
out at what price they'd consider giving up smoking.

I instantly saw the perl connection, however, although it actually looked
more like a '$__' variable.

John

On Wed, Oct 21, 2009 at 11:22 AM, Aaron Leonard <aachleon at gmail.com> wrote:

> LOL
>
> He was joking...  The $_ in the message isn't supposed to be interpolated.
> I think you all need to take a break from programming this weekend.  :)
>
>
>
> On Wed, Oct 21, 2009 at 10:58 AM, Jason Rush <jason+kcpm at jlrush.com<jason%2Bkcpm at jlrush.com>
> > wrote:
>
>> >> Have you seen the billboard on I-35 south as you pass Mission Road?
>> >> It uses the default variable:
>> >>
>> >> "I'll quit when cigarettes are $_ a pack."
>> >
>> > You must have added those double-quotes... The actual code must be
>> > mistakenly single-quoted, so $_ isn't interpolated. You'd think they
>> would
>> > have caught that while escaping the ' in I'll.    :)
>> >
>> > Can someone take a picture for us out-of-towners?
>> >
>> > j
>> > Omaha.pm
>> >
>> >
>>
>> The developer could have used the q quoting which would allow for
>> double and single quotes inside the message.
>>
>> print q( "I'll quit when cigarettes are $_ a pack." );
>>
>> I wish I had checked my email earlier, I would have brought my camera.
>>  I wonder how long it will take to fix it if it hasn't been fixed
>> already.
>> _______________________________________________
>> kc mailing list
>> kc at pm.org
>> http://mail.pm.org/mailman/listinfo/kc
>>
>
>
> _______________________________________________
> kc mailing list
> kc at pm.org
> http://mail.pm.org/mailman/listinfo/kc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/kc/attachments/20091021/428d52ed/attachment.html>


More information about the kc mailing list