Help for this page

Select Code to Download


  1. or download this
    use Digest::MD5 qw(md5_hex);
    
    ...
    
    my $fileMd5 = md5_hex($text) . $ext;
    
  2. or download this
    open(my $fh, ">", $fileMd5) or warn("Could not create ($fileMd5)\n"), 
    +next;
    
  3. or download this
    if(system(mozilla => -remote => 'ping()')) {
        warn "mozilla not found!";
    ...
    # (obviously, use "new-window" if you prefer that)
    
    my $commandShow = q{mozilla -remote "openurl(%s, new-tab)"};
    
  4. or download this
    Win32::Process::Create(
        my $process,
    ...
        NORMAL_PRIORITY_CLASS,
        "."
    ) || die ErrorReport() if system(mozilla => -remote => 'ping()');