MsqlCGI

 view release on metacpan or  search on metacpan

MsqlCGI-bin/MsqlCGI.pm  view on Meta::CPAN

  	if ( ( substr ( $fileName, 0, 1 ) ) !~ /[~\/]/ ) ;

  &main::DPrint ( "After first substitution: $fileName" );

  $fileName =~ s/^~(\w*)/
    if ( $1 ) {
      ($name,$passwd,$uid,$gid,$quota,$comment,$gcos,$dir,$shell) = 
      getpwnam ( $1 ); $dir
    } else {
      ($name,$passwd,$uid,$gid,$quota,$comment,$gcos,$dir,$shell) = 
      getpwuid ( $< ); $dir
    }/ge;
  &main::DPrint ( "After second substitution.  Returning: $fileName" );
  return $fileName;
}



#######################################################################
# DPrint
#



( run in 0.429 second using v1.01-cache-2.11-cpan-8d75d55dd25 )