Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Alvis::URLs
URL and hash standardisation utilities.

Alvis::URLs - URL and hash standardisation utilities.


NAME

Alvis::URLs - URL and hash standardisation utilities.


SYNOPSIS


 $Alvis::URLs::keepfrag = 0; # set to keep fragment, default removes

 $cleanurl = &Alvis::URLs::CleanURL($url);

 $Alvis::URLs::nocase = 0;   # set to convert everything to lowercase

 $Alvis::URLs::noclean = 0;  # set to disable use of URI cleaning

 $standardurl = &Alvis::URLs::StandardURL($url);


DESCRIPTION

Provides an MD5 hashing interface, as well as simple standards for URL cleaning based on the URI library.


METHODS

easyhash32()


   $myhash = &easyhash32($text);

Return 32-bit unsigned part of the MD5 hash as an integer.

easyhash64char()


   $myhash = &easyhash32($text);

Return 64-bit unsigned part of an MD5 hash as a 16 character string in hexadecimal.

CleanURL()


 $cleanurl = &Alvis::URLs::CleanURL($url);

Use the URI library to cleanup the format of the URL.

StandardURL()


 $standardurl = &Alvis::URLs::StandardURL($url);

Standardise the format of the URL, including cleaning above if switches dictate.


SEE ALSO

URI(3).


AUTHOR

Wray Buntine, <wray.buntine@hiit.fi>


COPYRIGHT AND LICENSE

Copyright (C) 2006 by Wray Buntine

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

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy