Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

padre::util::win32(3pm) [debian man page]

Padre::Util::Win32(3pm) 				User Contributed Perl Documentation				   Padre::Util::Win32(3pm)

NAME
Padre::Util::Win32 - Padre Win32 API Functions DESCRIPTION
The "Padre::Util::Win32" package provides an XS wrapper for Win32 API functions All functions are exportable and documented for maintenance purposes, but except for in the Padre core distribution you are discouraged in the strongest possible terms from using these functions, as they may be moved, removed or changed at any time without notice. FUNCTIONS
"GetLongPathName" Padre::Util::Win32::GetLongPathName($path); Converts the specified path $path to its long form. Returns "undef" for failure, or the long form of the specified path "Recycle" Padre::Util::Win32::Recycle($file_to_recycle); Move $file_to_recycle to recycle bin Returns "undef" (failed), zero (aborted) or one (success) "AllowSetForegroundWindow" Padre::Util::Win32::AllowSetForegroundWindow($pid); Enables the specified process $pid to set the foreground window via "SetForegroundWindow" http://msdn.microsoft.com/en-us/library/ms633539(VS.85).aspx <http://msdn.microsoft.com/en-us/library/ms633539(VS.85).aspx> "ExecuteProcessAndWait" Padre::Util::Win32::ExecuteProcessAndWait( directory => $directory, file => $file, parameters => $parameters, show => $show, ) Execute a background process named "$file $parameters" with the current directory set to $directory and wait for it to end. If you set $show to 0, then you have an invisible command line window on win32! "GetCurrentProcessMemorySize" Padre::Util::Win32::GetCurrentProcessMemorySize; Returns the current process memory size in bytes "GetLastErrorString" Padre::Util::Win32::GetLastError; Returns the error code of the last Win32 API call. The list of error codes could be found at http://msdn.microsoft.com/en-us/library/ms681381(VS.85).aspx <http://msdn.microsoft.com/en- us/library/ms681381(VS.85).aspx>. "GetLastErrorString" Padre::Util::Win32::GetLastErrorString; Returns the string representation for the error code of the last Win32 API call. COPYRIGHT
Copyright 2008-2012 The Padre development team as listed in Padre.pm. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. perl v5.14.2 2012-06-27 Padre::Util::Win32(3pm)

Check Out this Related Man Page

Padre::Task::LWP(3pm)					User Contributed Perl Documentation				     Padre::Task::LWP(3pm)

NAME
Padre::Task::LWP - Generic HTTP client background processing task SYNOPSIS
# Fire and forget HTTP request Padre::Task::LWP->new( request => HTTP::Request->new( GET => 'http://perlide.org', ), )->schedule; DESCRIPTION
Sending and receiving data via HTTP. METHODS
new my $task = Padre::Task::LWP->new( method => 'GET', url => 'http://perlide.org', ); The "new" constructor creates a Padre::Task for a background HTTP request. It takes a single addition parameter "request" which is a fully-prepared HTTP::Request object for the request. Returns a new Padre::Task::LWP object, or throws an exception on error. request The "request" method returns the HTTP::Request object that was provided to the constructor. response Before the "run" method has been fired the "response" method returns "undef". After the "run" method has been fired the "response" method returns the HTTP::Response object for the LWP::UserAgent request. Typically, you would use this in the "finish" method for the task, if you wish to take any further actions in Padre based on the result of the HTTP call. SEE ALSO
This class inherits from "Padre::Task" and its instances can be scheduled using "Padre::TaskManager". The transfer of the objects to and from the worker threads is implemented with Storable. AUTHOR
Steffen Mueller "smueller@cpan.org" COPYRIGHT AND LICENSE
Copyright 2008-2012 The Padre development team as listed in Padre.pm. This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself. perl v5.14.2 2012-06-27 Padre::Task::LWP(3pm)
Man Page