Changes in perl/lib/BarnOwl.pm [7589f0a:de3f641]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/lib/BarnOwl.pm
r7589f0a rde3f641 427 427 } 428 428 429 =head3 default_zephyr_signature 430 431 Compute the default zephyr signature. 432 433 =cut 434 435 sub default_zephyr_signature 436 { 437 if (my $zsig = getvar('zsig')) { 438 return $zsig; 439 } 440 if (my $zsigproc = getvar('zsigproc')) { 441 return `$zsigproc`; 442 } 443 my $zwrite_signature = get_zephyr_variable('zwrite-signature'); 444 if (defined($zwrite_signature)) { 445 return $zwrite_signature; 446 } 447 my $name = ((getpwuid($<))[6]); 448 $name =~ s/,.*//; 449 return $name; 450 } 451 429 452 # Stub for owl::startup / BarnOwl::startup, so it isn't bound to the 430 453 # startup command. This may be redefined in a user's configfile.
Note: See TracChangeset
for help on using the changeset viewer.