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

Re: Printing dollar signs

Expand Messages
  • Marcelo Pham
    Thanks Sheldon! I ll give it a shot tonight... Marcelo ... in ... mySQL
    Message 1 of 10 , Oct 10, 2000
      Thanks Sheldon! I'll give it a shot tonight...

      Marcelo

      --- In perl-beginner@egroups.com, "Smith, Sheldon"
      <sheldon.smith@c...> wrote:
      > How about avoiding interpretation by using
      > print $blines[0], "\n";
      >
      > By the way: Use the debugger to verify the dollar sign is actually
      in
      > $blines[0] before you attempt to print it.
      >
      > > -----Original Message-----
      > > From: Marcelo Pham [mailto:marcelopham@h...]
      > > Sent: Saturday, October 07, 2000 9:34 PM
      > > To: perl-beginner@egroups.com
      > > Subject: [PBML] Re: Printing dollar signs
      > >
      > > But what I'm really doing is, I am reading a variable from a
      mySQL
      > > table, so one of the retrieved fields is $blines[0]. This db is
      > > populated by the user, so I don't have control over it.
      > >
      > > Now, when I go and do
      > > print "$blines[0]\n";
      > >
      > > and $blines[0] contains a $, it ignores it...
    Your message has been successfully submitted and would be delivered to recipients shortly.