Help for this page

Select Code to Download


  1. or download this
    # !/opt/OV/bin/Perl/bin/perl -w
    use FindBin;
    use lib $FindBin::Bin;                    # path 2 scripts
    ...
    use lib serverNames;                    # contains ARRAY serverList
    
    print @serverList;                        # very simple, I know ;-)
    
  2. or download this
    $ perl -w pfadTest.pl
    Name "main::serverList" used only once: possible typo at
    pfadTest.pl line 7
    
  3. or download this
    # !/opt/OV/bin/Perl/bin/perl -w
    use strict;
    use FindBin;
    ...
    use lib serverNames;                    # contains ARRAY serverList
    
    print @serverList;                        # very simple, I know ;-)
    
  4. or download this
    Bareword "serverNames" not allowed while "strict subs" in use at
    pfadTest.pl line 6. Global symbol "@serverList" requires explicit
    package name at pfadTest.pl line 8.
    Execution of pfadTest.pl aborted due to compilation errors.