The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Win32::FindFile - Perl extension for calling win32 FindFirstFileW/FindNextFileW ( or FindFirstFile FindNextFile )

SYNOPSIS

  use Win32::FindFile;
  
  my @txt_files = FindFile( "*.txt" );
  my @dir_content = FindFile( "*" );

  # and finally
  # print entire directory content in unicode 
  #
  binmode( STDOUT, ":utf8" );
  for ( @dir_content ){
          utf8::decode( $_ );
          print $_, "\n";
  };

DESCRIPTION Win32::FindFile are simple wrapper around win32 core function FindFileFirst/FindFileNext

EXPORT

@content = FindFile( $Pattern )

SEE ALSO

Win32, Win32API(CopyFile, DeleteFile, MoveFile)

AUTHOR

A. G. Grishaev, <grian@cpan.org<gt>

COPYRIGHT AND LICENSE

Copyright (C) 2010 by A. G. Grishaev

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.1 or, at your option, any later version of Perl 5 you may have available.