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

Re: [PBML] Re: Learning PERL DAY 1

Expand Messages
  • Kul
    ... Try removing the $ from the PRINT !! ie. $full_address = $street_address.$city.$state.$zipcode print $full_address; -- Regards, Kul
    Message 1 of 2 , Feb 28, 2001
    • 0 Attachment
      Hien Pham wrote:

      > <snip>
      > $full_address = $street_address.$city.$state.$zipcode
      > $print $full_address;
      >
      > # Here, debugger complains. I guess it's the blank space in between.
      > # Help please
      >
      >

      Try removing the $ from the "PRINT" !!
      ie.
      $full_address = $street_address.$city.$state.$zipcode
      print $full_address;
      --
      Regards,
      Kul
    • Charles K. Clarkson
      ... From: Kul To: Sent: Wednesday, February 28, 2001 11:30 PM Subject: Re: [PBML] Re: Learning PERL DAY 1
      Message 2 of 2 , Feb 28, 2001
      • 0 Attachment
        ----- Original Message -----
        From: "Kul" <aka.Kul@...>
        To: <perl-beginner@yahoogroups.com>
        Sent: Wednesday, February 28, 2001 11:30 PM
        Subject: Re: [PBML] Re: Learning PERL DAY 1


        : Hien Pham wrote:
        :
        : > <snip>
        : > $full_address = $street_address.$city.$state.$zipcode
        : > $print $full_address;
        : >
        : > # Here, debugger complains. I guess it's the blank space in between.
        : > # Help please
        : >
        : >
        :
        : Try removing the $ from the "PRINT" !!
        : ie.
        : $full_address = $street_address.$city.$state.$zipcode

        You also need a semicolon at the end of this line and
        need to fix the typo in $zip_code:

        $full_address = $street_address.$city.$state.$zip_code;

        HTH,
        Charles K. Clarkson

        : print $full_address;
        : --
        : Regards,
        : Kul
        :
        :
        :
        :
        :
        :
        :
        : Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
        :
        :
        :
      Your message has been successfully submitted and would be delivered to recipients shortly.