Thread Feedmailer
(10 answers)
Opened by mika at 2015-08-03 16:32 2017-01-19T19:16:54 mika Sollte so gehn: Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 # temp dir sub TEMPDIR { return $ENV{ TMP } # Linux || $ENV{ TEMP } # Windows || $ENV{ TEMPDIR } # ??? || $ENV{ TMPDIR } # Mac || undef; } # Get User sub USERNAME { return getlogin || getpwuid( $< ) || $ENV{ LOGNAME } || $ENV{ USER } || $ENV{ USERNAME } || 'unknown'; } |