Perl script Problem with Linux

From: Padiyath Sreekumaran (Kumar.Padiyath_at_psi.ch)
Date: 11/25/04

  • Next message: Ed Greshko: "Re: Perl script Problem with Linux"
    To: "'redhat-list@redhat.com'" <redhat-list@redhat.com>
    Date: Thu, 25 Nov 2004 07:47:04 +0100
    
    
    

     

     

       Hello,

       I have a perl script which reads a configuration file. This

       Script works on SUN as well as Tru64 to certain extend. Since I donot

       have all the input files on SUN and Tru64 the script stops. The

       Problem on Linux is that it dies immediately in line 9 of the

       Configuration file. Iam using Perl version 5.8 and Redhat 9.0. The

       problem is in the routine read_conf of the perl script. Iam not an

       expert on Perl. Can any one help me? Am I missing any Perl modules on

       Linux? Thanks for your help.

     

       Iam enclosing both files: script and config file

     

       # perl -v

     

    This is perl, v5.8.0 built for i386-linux-thread-multi

    (with 1 registered patch, see perl -V for more detail)

     

       # uname -a

    Linux pc4289 2.4.20-28.9 #1 Thu Dec 18 13:45:22 EST 2003 i686 i686 i386
    GNU/Linux

     

       I know that I should have send this problem to Perl FAQ. Since I get

       error with Linux I thought that I shall ask here. Sorry for that.

     

        Error I get on Linux:

     

      # ./dnewsreport103.pl -f ./dnewsreport.103.conf

    Error in ./dnewsreport.103.conf line 9: must be 'section' instead of '#'

     

    Regards,

    Kumar

     

     

    
    

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Ed Greshko: "Re: Perl script Problem with Linux"

    Relevant Pages

    • 2005-10-23 [de.comp.lang.perl.cgi] FAQ
      ... Programmiersprache Perl in CGI-Scripten. ... Wo gibt es Dokumentation über Perl und CGI? ... Hilfe zum Programm perldoc kann man mit 'perldoc perldoc' ... Mein Script läuft nicht bei meinem Provider. ...
      (de.comp.lang.perl.cgi)
    • 2005-10-23 [de.comp.lang.perl.cgi] FAQ
      ... Programmiersprache Perl in CGI-Scripten. ... Wo gibt es Dokumentation über Perl und CGI? ... Hilfe zum Programm perldoc kann man mit 'perldoc perldoc' ... Mein Script läuft nicht bei meinem Provider. ...
      (de.comp.lang.perl.cgi)
    • 2005-10-23 [de.comp.lang.perl.cgi] FAQ
      ... Programmiersprache Perl in CGI-Scripten. ... Wo gibt es Dokumentation über Perl und CGI? ... Hilfe zum Programm perldoc kann man mit 'perldoc perldoc' ... Mein Script läuft nicht bei meinem Provider. ...
      (de.comp.lang.perl.cgi)
    • 2005-11-20 [de.comp.lang.perl.cgi] FAQ
      ... Programmiersprache Perl in CGI-Scripten. ... Wo gibt es Dokumentation über Perl und CGI? ... Hilfe zum Programm perldoc kann man mit 'perldoc perldoc' ... Mein Script läuft nicht bei meinem Provider. ...
      (de.comp.lang.perl.cgi)
    • 2005-11-20 [de.comp.lang.perl.cgi] FAQ
      ... Programmiersprache Perl in CGI-Scripten. ... Wo gibt es Dokumentation über Perl und CGI? ... Hilfe zum Programm perldoc kann man mit 'perldoc perldoc' ... Mein Script läuft nicht bei meinem Provider. ...
      (de.comp.lang.perl.cgi)