start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: CrackURL Chapter 19
Win32 Modules and Extensions
Next: Reference: DataReceiveTimeout
 

CreateURL

$

inet


->CreateURL
(

scheme

, 

hostname

, 

port

, 

username

, 

password

, 

path

, 

extrainfo

, [

flags

])
$

inet


->CreateURL
($

hashref

, [

flags


])
 

Creates a URL from its component parts. Returns undef on error and the created URL if successful. If you pass a hash reference, the following values are taken from the array:

%hash=(   "scheme"    => "scheme",   "hostname"  => "hostname",   "port"      => port,   "username"  => "username",   "password"  => "password",   "path"      => "path",   "extrainfo" => "extrainfo", );
If you don't specify a flags parameter, ICU_ESCAPE will be used by default; for the other possible values of flags, refer to the Microsoft Win32 Internet Functions documentation.


Previous: Reference: CrackURL Perl in a Nutshell Next: Reference: DataReceiveTimeout
Reference: CrackURL Book Index Reference: DataReceiveTimeout

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.