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 <[email protected]<jason%[email protected]> > 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 > [email protected] > http://mail.pm.org/mailman/listinfo/kc >
_______________________________________________ kc mailing list [email protected] http://mail.pm.org/mailman/listinfo/kc
