Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^4: is there a way to (temporarily) switch off mod_perl caching/variable storing? (contrast compare)

by tomgracey (Beadle)
on Jul 11, 2013 at 12:47 UTC ( #1043715=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    print "OUTPUT:\n\n";
    
    print "@out\n\n";
    
  2. or download this
    ENVIRONMENT VARIABLES: SCRIPT_NAME: /perl/site/git_test/test_commit2.p
    +l
    SERVER_NAME: xxx.xxx.xxx.xxx
    ...
    DOCUMENT_ROOT: /var/www/html/
    HTTP_HOST: xxx.xxx.xxx.xxx
    MOD_PERL: mod_perl/2.0.4
    
  3. or download this
    ENVIRONMENT VARIABLES: SCRIPT_NAME: /perl/site/git_test/test_commit2.p
    +l
    SERVER_NAME: xxx.xxx.xxx.xxx
    ...
    DOCUMENT_ROOT: /var/www/html/
    HTTP_HOST: xxx.xxx.xxx.xxx
    MOD_PERL: mod_perl/2.0.4
    
  4. or download this
    SCRIPT_NAME: /cgi-bin/test_commit2.pl
    SERVER_NAME: xxx.xxx.xxx.xxx
    ...
    SERVER_ADDR: xxx.xxx.xxx.xxx
    DOCUMENT_ROOT: /var/www/html/
    HTTP_HOST: xxx.xxx.xxx.xxx
    
  5. or download this
    execve("/usr/bin/git", ["git", "commit", "-m", "msg"], [/* 16 vars */]
    +) = 0
     brk(0)                                  = 0x26ee000
    ...
     open("/lib64/libz.so.1", O_RDONLY)      = 0
     read(0, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 !\0\0\0\0\0\0
    +"..., 832) = 832
     fstat(0, {st_mode=S_IFREG|0755, st_size=88600, ...}) = 0
    
  6. or download this
    execve("/usr/bin/git", ["git", "commit", "-m", "msg"], [/* 16 vars */]
    +) = 0
     brk(0)                                  = 0x1daf000
    ...
     open("/lib64/libz.so.1", O_RDONLY)      = 3
     read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 !\0\0\0\0\0\0
    +"..., 832) = 832
     fstat(3, {st_mode=S_IFREG|0755, st_size=88600, ...}) = 0
    
  7. or download this
    execve("/usr/bin/git", ["git", "commit", "-m", "msg"], [/* 29 vars */]
    +) = 0
     brk(0)                                  = 0x935000
    ...
     open("/lib64/libz.so.1", O_RDONLY)      = 3
     read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 !\0\0\0\0\0\0
    +"..., 832) = 832
     fstat(3, {st_mode=S_IFREG|0755, st_size=88600, ...}) = 0
    
  8. or download this
    close(0)                                = 0
     open(".git/objects/info/alternates", O_RDONLY|O_NOATIME) = -1 ENOENT 
    +(No such file or directory)
    ...
     write(2, "fatal: failed to write commit ob"..., 37fatal: failed to wr
    +ite commit object
     ) = 37
     exit_group(128)                         = ?
    
  9. or download this
    close(3)                                = 0
     munmap(0x7f9b43974000, 137)             = 0
    ...
     brk(0x1de9000)                          = 0x1de9000
     brk(0x1dd9000)                          = 0x1dd9000
     brk(0x1dd7000)                          = 0x1dd7000
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1043715]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2014-09-22 10:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (188 votes), past polls