Help for this page

Select Code to Download


  1. or download this
    package MyConfig;
    
    ...
    $var = "SOME_FOO";
    
    1;
    
  2. or download this
    #!/usr/bin/perl -w
    
    ...
    use MyConfig;
    
    printf(">%s<\n",$MyConfig::var);
    
  3. or download this
    #include <stdio.h>
    #include <stdlib.h>
    ...
    
      return(EXIT_SUCCESS);
    }
    
  4. or download this
    PERL_CCOPTS = `perl -MExtUtils::Embed -e ccopts`
    PERL_LDOPTS = `perl -MExtUtils::Embed -e ldopts`
    ...
    all:
            gcc -g -o read_config.o -c read_config.c $(PERL_CCOPTS)
            gcc -g -o read_config read_config.o $(PERL_LDOPTS)