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

Reg: [PBML] Can String replaced with SPL characters

Expand Messages
  • Sathish Kumar Kuppan
    your usage adoption gives compilation errors ! friend rgds, ksathish ... From: karthick.sundararajan@wipro.com [mailto:karthick.sundararajan@wipro.com] Sent:
    Message 1 of 2 , Sep 30, 2004
    • 0 Attachment
      your usage adoption gives compilation errors ! friend


      rgds,

      ksathish

      -----Original Message-----
      From: karthick.sundararajan@... [mailto:karthick.sundararajan@...]
      Sent: Friday, October 01, 2004 11:50 AM
      To: perl-beginner@yahoogroups.com
      Subject: RE: [PBML] Can String replaced with SPL characters


      Sorry...

      I meant
      try using
      $file_input[$i] =~ s/aaa\/\//gi


      -----Original Message-----
      From: Karthick Sundararajan
      Sent: Friday, October 01, 2004 11:47
      To: perl-beginner@yahoogroups.com
      Subject: RE: [PBML] Can String replaced with SPL characters


      try using s
      $file_input[$i] =~ /aaa\/\//gi

      Cheers,
      Karthick S.
      Mobile Number: 9884025911
      Home Page: www.geocities.com/sksatyam

      -----Original Message-----
      From: Sathish Kumar Kuppan [mailto:ksathish@...]
      Sent: Friday, October 01, 2004 11:51
      To: perl-beginner@yahoogroups.com
      Subject: [PBML] Can String replaced with SPL characters


      hi,

      I wanna replace a string, say aaa with // ... in a file...
      i tried with this option as below, yet i didnt achieve it...

      $file_input[$i] =~ s/aaa/ // /gi;

      can anybody suggest me achieve it !

      txs



      rgds,

      ksathish

      -----Original Message-----
      From: jocua.rm [mailto:jocua@...]
      Sent: Wednesday, September 29, 2004 1:25 AM
      To: perl-beginner@yahoogroups.com
      Subject: [PBML] Question on Installing Sybperl Module


      Hi,

      I want to connect to a Sybase Database using a perl script.

      I have a Perl 5.6.1 running on a Linux box. I downloaded the sybperl
      2.171 module from http://www.peppler.org/downloads/

      Then I copied this file to this location /usr/lib/perl5/5.6.1/Sybase

      Then I unzipped it using the following commands,

      gunzip sybperl-2.171.tar.gz
      tar xvof sybperl-2.171.tar

      Then I continued using the following commands...

      perl Makefile.PL (I just use the default values)
      make
      make test (it gave me errors, this is the last line, Failed
      11/11 test scripts, 0.00% okay. 214/215 subtests failed, 0.47% okay.
      make: *** [test_dynamic] Error 2)
      make install

      I ignore this error and proceeded to write a basic connection perl
      script... here is what I wrote.

      #\usr\bin\perl
      use Sybase::DBlib;
      $login="test";
      $passwd ="test";
      $dbserver = "test.server";
      my $dbconn = Sybase::DBlib->dblogin($login, $passwd,
      $dbserver) || die "error";

      And I got this error,

      DB-Library error:
      Could not open interface file.
      error at sybase.pl line 6.

      Can you help me with this problem? I think I'm not installing the
      module properly... Thanks in advance.

      Regards,
      Jonathan







      Unsubscribing info is here:
      http://help.yahoo.com/help/us/groups/groups-32.html



      Yahoo! Groups Sponsor

      ADVERTISEMENT
      < http://us.ard.yahoo.com/SIG=1294pbcpb/M=295196.4901138.6071305.3001176/
      D=groups/S=1705006951:HM/EXP=1096487764/A=2128215/R=0/SIG=10se96mf6/*htt
      p://companion.yahoo.com> click here

      < http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
      s/S=:HM/A=2128215/rand=113952991>


      _____

      Yahoo! Groups Links


      * To visit your group on the web, go to:
      http://groups.yahoo.com/group/perl-beginner/


      * To unsubscribe from this group, send an email to:
      perl-beginner-unsubscribe@yahoogroups.com
      <mailto:perl-beginner-unsubscribe@yahoogroups.com?subject=Unsubscribe>


      * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
      Service < http://docs.yahoo.com/info/terms/> .



      DISCLAIMER:
      Information contained and transmitted by this E-MAIL is proprietary to
      Hexaware Technologies and is intended for use only by the individual or
      entity to which it is addressed and may contain information that is
      privileged, confidential or exempt from disclosure under applicable law.
      If this is a forwarded message, the content of this E-MAIL may not have
      been sent with the authority of the Company. If you are not the intended
      recipient, an agent of the intended recipient or a person responsible
      for delivering the information to the named recipient, you are notified
      that any use, distribution, transmission, printing, copying or
      dissemination of this information in any way or in any manner is
      strictly prohibited. If you have received this communication in error,
      please delete this mail & notify us immediately at
      adminchn@....

      [Non-text portions of this message have been removed]



      Unsubscribing info is here:
      http://help.yahoo.com/help/us/groups/groups-32.html



      Yahoo! Groups Sponsor

      ADVERTISEMENT

      < http://us.ard.yahoo.com/SIG=129nauv5p/M=295196.4901138.6071305.3001176/
      D=groups/S=1705006951:HM/EXP=1096697604/A=2128215/R=0/SIG=10se96mf6/*htt
      p://companion.yahoo.com> click here

      < http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
      s/S=:HM/A=2128215/rand=732418131>


      _____

      Yahoo! Groups Links


      * To visit your group on the web, go to:
      http://groups.yahoo.com/group/perl-beginner/


      * To unsubscribe from this group, send an email to:
      perl-beginner-unsubscribe@yahoogroups.com
      <mailto:perl-beginner-unsubscribe@yahoogroups.com?subject=Unsubscribe>


      * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
      Service < http://docs.yahoo.com/info/terms/> .




      [Non-text portions of this message have been removed]



      Unsubscribing info is here:
      http://help.yahoo.com/help/us/groups/groups-32.html



      Yahoo! Groups Sponsor

      ADVERTISEMENT

      < http://us.ard.yahoo.com/SIG=129g6520s/M=295196.4901138.6071305.3001176/
      D=groups/S=1705006951:HM/EXP=1096697822/A=2128215/R=0/SIG=10se96mf6/*htt
      p://companion.yahoo.com> click here

      < http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
      s/S=:HM/A=2128215/rand=174952569>


      _____

      Yahoo! Groups Links


      * To visit your group on the web, go to:
      http://groups.yahoo.com/group/perl-beginner/


      * To unsubscribe from this group, send an email to:
      perl-beginner-unsubscribe@yahoogroups.com
      <mailto:perl-beginner-unsubscribe@yahoogroups.com?subject=Unsubscribe>


      * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
      Service < http://docs.yahoo.com/info/terms/> .




      [Non-text portions of this message have been removed]



      Unsubscribing info is here: http://help.yahoo.com/help/us/groups/groups-32.html



      Yahoo! Groups Sponsor

      ADVERTISEMENT
      <http://us.ard.yahoo.com/SIG=129nhf3pr/M=295196.4901138.6071305.3001176/D=groups/S=1705006951:HM/EXP=1096698031/A=2128215/R=0/SIG=10se96mf6/*http://companion.yahoo.com> click here
      <http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=:HM/A=2128215/rand=833656898>


      _____

      Yahoo! Groups Links


      * To visit your group on the web, go to:
      http://groups.yahoo.com/group/perl-beginner/


      * To unsubscribe from this group, send an email to:
      perl-beginner-unsubscribe@yahoogroups.com <mailto:perl-beginner-unsubscribe@yahoogroups.com?subject=Unsubscribe>


      * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .



      DISCLAIMER:
      Information contained and transmitted by this E-MAIL is proprietary to
      Hexaware Technologies and is intended for use only by the individual or
      entity to which it is addressed and may contain information that is
      privileged, confidential or exempt from disclosure under applicable law.
      If this is a forwarded message, the content of this E-MAIL may not have
      been sent with the authority of the Company. If you are not the intended
      recipient, an agent of the intended recipient or a person responsible
      for delivering the information to the named recipient, you are notified
      that any use, distribution, transmission, printing, copying or
      dissemination of this information in any way or in any manner is
      strictly prohibited. If you have received this communication in error,
      please delete this mail & notify us immediately at
      adminchn@....

      [Non-text portions of this message have been removed]
    • Raymond Raj
      $file_input[$i] =~ s/aaa/ / //gi; or use just like below $file_input[$i] =~ s!aaa!//!gi; for morething study perl regular expressioni quick tutorial ... From:
      Message 2 of 2 , Oct 1, 2004
      • 0 Attachment
        $file_input[$i] =~ s/aaa/\/\//gi;

        or use just like below

        $file_input[$i] =~ s!aaa!//!gi;


        for morething study perl regular expressioni quick tutorial

        >perldoc perlrequick


        -----Original Message-----
        From: Sathish Kumar Kuppan [mailto:ksathish@...]
        Sent: Friday, October 01, 2004 12:24 PM
        To: perl-beginner@yahoogroups.com
        Subject: Reg: [PBML] Can String replaced with SPL characters


        your usage adoption gives compilation errors ! friend


        rgds,

        ksathish

        -----Original Message-----
        From: karthick.sundararajan@...
        [mailto:karthick.sundararajan@...]
        Sent: Friday, October 01, 2004 11:50 AM
        To: perl-beginner@yahoogroups.com
        Subject: RE: [PBML] Can String replaced with SPL characters


        Sorry...

        I meant
        try using
        $file_input[$i] =~ s/aaa\/\//gi


        -----Original Message-----
        From: Karthick Sundararajan
        Sent: Friday, October 01, 2004 11:47
        To: perl-beginner@yahoogroups.com
        Subject: RE: [PBML] Can String replaced with SPL characters


        try using s
        $file_input[$i] =~ /aaa\/\//gi

        Cheers,
        Karthick S.
        Mobile Number: 9884025911
        Home Page: www.geocities.com/sksatyam

        -----Original Message-----
        From: Sathish Kumar Kuppan [mailto:ksathish@...]
        Sent: Friday, October 01, 2004 11:51
        To: perl-beginner@yahoogroups.com
        Subject: [PBML] Can String replaced with SPL characters


        hi,

        I wanna replace a string, say aaa with // ... in a file...
        i tried with this option as below, yet i didnt achieve it...

        $file_input[$i] =~ s/aaa/ // /gi;

        can anybody suggest me achieve it !

        txs



        rgds,

        ksathish

        -----Original Message-----
        From: jocua.rm [mailto:jocua@...]
        Sent: Wednesday, September 29, 2004 1:25 AM
        To: perl-beginner@yahoogroups.com
        Subject: [PBML] Question on Installing Sybperl Module


        Hi,

        I want to connect to a Sybase Database using a perl script.

        I have a Perl 5.6.1 running on a Linux box. I downloaded the sybperl
        2.171 module from http://www.peppler.org/downloads/

        Then I copied this file to this location /usr/lib/perl5/5.6.1/Sybase

        Then I unzipped it using the following commands,

        gunzip sybperl-2.171.tar.gz
        tar xvof sybperl-2.171.tar

        Then I continued using the following commands...

        perl Makefile.PL (I just use the default values)
        make
        make test (it gave me errors, this is the last line, Failed
        11/11 test scripts, 0.00% okay. 214/215 subtests failed, 0.47% okay.
        make: *** [test_dynamic] Error 2)
        make install

        I ignore this error and proceeded to write a basic connection perl
        script... here is what I wrote.

        #\usr\bin\perl
        use Sybase::DBlib;
        $login="test";
        $passwd ="test";
        $dbserver = "test.server";
        my $dbconn = Sybase::DBlib->dblogin($login, $passwd,
        $dbserver) || die "error";

        And I got this error,

        DB-Library error:
        Could not open interface file.
        error at sybase.pl line 6.

        Can you help me with this problem? I think I'm not installing the
        module properly... Thanks in advance.

        Regards,
        Jonathan







        Unsubscribing info is here:
        http://help.yahoo.com/help/us/groups/groups-32.html



        Yahoo! Groups Sponsor

        ADVERTISEMENT
        < http://us.ard.yahoo.com/SIG=1294pbcpb/M=295196.4901138.6071305.3001176/
        D=groups/S=1705006951:HM/EXP=1096487764/A=2128215/R=0/SIG=10se96mf6/*htt
        p://companion.yahoo.com> click here

        < http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
        s/S=:HM/A=2128215/rand=113952991>


        _____

        Yahoo! Groups Links


        * To visit your group on the web, go to:
        http://groups.yahoo.com/group/perl-beginner/


        * To unsubscribe from this group, send an email to:
        perl-beginner-unsubscribe@yahoogroups.com
        <mailto:perl-beginner-unsubscribe@yahoogroups.com?subject=Unsubscribe>


        * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
        Service < http://docs.yahoo.com/info/terms/> .



        DISCLAIMER:
        Information contained and transmitted by this E-MAIL is proprietary to
        Hexaware Technologies and is intended for use only by the individual or
        entity to which it is addressed and may contain information that is
        privileged, confidential or exempt from disclosure under applicable law.
        If this is a forwarded message, the content of this E-MAIL may not have
        been sent with the authority of the Company. If you are not the intended
        recipient, an agent of the intended recipient or a person responsible
        for delivering the information to the named recipient, you are notified
        that any use, distribution, transmission, printing, copying or
        dissemination of this information in any way or in any manner is
        strictly prohibited. If you have received this communication in error,
        please delete this mail & notify us immediately at
        adminchn@....

        [Non-text portions of this message have been removed]



        Unsubscribing info is here:
        http://help.yahoo.com/help/us/groups/groups-32.html



        Yahoo! Groups Sponsor

        ADVERTISEMENT

        < http://us.ard.yahoo.com/SIG=129nauv5p/M=295196.4901138.6071305.3001176/
        D=groups/S=1705006951:HM/EXP=1096697604/A=2128215/R=0/SIG=10se96mf6/*htt
        p://companion.yahoo.com> click here

        < http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
        s/S=:HM/A=2128215/rand=732418131>


        _____

        Yahoo! Groups Links


        * To visit your group on the web, go to:
        http://groups.yahoo.com/group/perl-beginner/


        * To unsubscribe from this group, send an email to:
        perl-beginner-unsubscribe@yahoogroups.com
        <mailto:perl-beginner-unsubscribe@yahoogroups.com?subject=Unsubscribe>


        * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
        Service < http://docs.yahoo.com/info/terms/> .




        [Non-text portions of this message have been removed]



        Unsubscribing info is here:
        http://help.yahoo.com/help/us/groups/groups-32.html



        Yahoo! Groups Sponsor

        ADVERTISEMENT

        < http://us.ard.yahoo.com/SIG=129g6520s/M=295196.4901138.6071305.3001176/
        D=groups/S=1705006951:HM/EXP=1096697822/A=2128215/R=0/SIG=10se96mf6/*htt
        p://companion.yahoo.com> click here

        < http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=group
        s/S=:HM/A=2128215/rand=174952569>


        _____

        Yahoo! Groups Links


        * To visit your group on the web, go to:
        http://groups.yahoo.com/group/perl-beginner/


        * To unsubscribe from this group, send an email to:
        perl-beginner-unsubscribe@yahoogroups.com
        <mailto:perl-beginner-unsubscribe@yahoogroups.com?subject=Unsubscribe>


        * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
        Service < http://docs.yahoo.com/info/terms/> .




        [Non-text portions of this message have been removed]



        Unsubscribing info is here:
        http://help.yahoo.com/help/us/groups/groups-32.html



        Yahoo! Groups Sponsor

        ADVERTISEMENT
        <http://us.ard.yahoo.com/SIG=129nhf3pr/M=295196.4901138.6071305.3001176/D=g
        roups/S=1705006951:HM/EXP=1096698031/A=2128215/R=0/SIG=10se96mf6/*http://com
        panion.yahoo.com> click here
        <http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/
        S=:HM/A=2128215/rand=833656898>


        _____

        Yahoo! Groups Links


        * To visit your group on the web, go to:
        http://groups.yahoo.com/group/perl-beginner/


        * To unsubscribe from this group, send an email to:
        perl-beginner-unsubscribe@yahoogroups.com
        <mailto:perl-beginner-unsubscribe@yahoogroups.com?subject=Unsubscribe>


        * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
        <http://docs.yahoo.com/info/terms/> .



        DISCLAIMER:
        Information contained and transmitted by this E-MAIL is proprietary to
        Hexaware Technologies and is intended for use only by the individual or
        entity to which it is addressed and may contain information that is
        privileged, confidential or exempt from disclosure under applicable law.
        If this is a forwarded message, the content of this E-MAIL may not have
        been sent with the authority of the Company. If you are not the intended
        recipient, an agent of the intended recipient or a person responsible
        for delivering the information to the named recipient, you are notified
        that any use, distribution, transmission, printing, copying or
        dissemination of this information in any way or in any manner is
        strictly prohibited. If you have received this communication in error,
        please delete this mail & notify us immediately at
        adminchn@....

        [Non-text portions of this message have been removed]




        Unsubscribing info is here:
        http://help.yahoo.com/help/us/groups/groups-32.html
        Yahoo! Groups Links
      Your message has been successfully submitted and would be delivered to recipients shortly.