Data::AMF::Remoting(3pm) User Contributed Perl Documentation Data::AMF::Remoting(3pm)NAME
Data::AMF::Remoting - handle Flash/Flex RPC.
SYNOPSIS
use Data::AMF::Remoting
my $remoting = Data::AMF::Remoting->new(
source => $data,
headers_handler => sub
{
my @headers = @_;
# Do authenticate or something.
return @headers;
},
message_handler => sub
{
my $message = shift;
# Call action using target_uri and value.
my ($controller_name, $action) = split '.', $message->target_uri;
$controller_name->require;
my $controller = $controller_name->new;
return $controller->$action($message->value);
}
);
$remoting->run;
my $data = $remoting->data;
DESCRIPTION
Data::AMF::Remoting provides to handle Flash/Flex RPC.
SEE ALSO
Data::AMF
METHODS
run
Handle AMF Packet data.
ACCESSORS
data
return AMF Data
AUTHOR
Takuho Yoshizu <seagirl@cpan.org>
COPYRIGHT
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.12.4 2010-07-21 Data::AMF::Remoting(3pm)
Check Out this Related Man Page
PPI::Token::Data(3pm) User Contributed Perl Documentation PPI::Token::Data(3pm)NAME
PPI::Token::Data - The actual data in the __DATA__ section of a file
INHERITANCE
PPI::Token::Data
isa PPI::Token
isa PPI::Element
DESCRIPTION
The "PPI::Token::Data" class is used to represent the actual data inside a file's "__DATA__" section.
One "PPI::Token::Data" object is used to represent the entire of the data, primarily so that it can provide a convenient handle directly to
the data.
METHODS
"PPI::Token::Data" provides one method in addition to those provided by our parent PPI::Token and PPI::Element classes.
handle
The "handle" method returns a IO::String handle that allows you to do all the normal handle-y things to the contents of the __DATA__
section of the file.
Unlike in perl itself, this means you can also do things like "print" new data onto the end of the __DATA__ section, or modify it with any
other process that can accept an IO::Handle as input or output.
Returns an IO::String object.
SUPPORT
See the support section in the main module.
AUTHOR
Adam Kennedy <adamk@cpan.org>
COPYRIGHT
Copyright 2001 - 2011 Adam Kennedy.
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.10.1 2011-02-26 PPI::Token::Data(3pm)
My file in ksh consists of message data of varying lengths (lines), separated with headers.
I would like to find a string from this file, and print out the whole message data including the headers.
my plan of attack is to search the strings, print the top header, and print the whole message... (2 Replies)
Hey everyone! I've got a pretty big problem with our application that we're releasing in a couple weeks. The app is developed with Flash and Java, and the problem is that the Flash Player gobbles up OS memory and then never releases it back to the OS...it just keeps gobbling it up getting larger... (2 Replies)
Hi,
I want to run a Perl script on multiple files, with same name ("Data.txt") but in different directories (eg : 2010_06_09_A/Data.txt, 2010_06_09_B/Data.txt).
I know how to run this perl script on files in the same directory like:
for $i in *.txt
do
perl myscript.pl $i > $i.new... (8 Replies)
Hi ,
I have the below source data, I need to clean the data in 2nd,4th,5th columns.
Source Data
RECORD,CASH_TRANS,BEJING,AUG2011/CASH_TRANS,Y/N150/CASH_TRANS,N/201108
RECORD,CASH_TRANS,INDIA,AUG2011/CASH_TRANS,Y/NC110/CASH_TRANS,N/201108... (7 Replies)
I have a text file called (msgz ) contains data :
Subscriber
Data ID = 2
Customer = 99
Data ID = 4
Customer = cf99
Data ID = 5
Customer = c99
Data ID = 11
Customer = 9n9
Subscriber
Data ID = 1
Customer = 9ds9
Data ID = 2
Customer = 9sad9
Data ID = 3
Customer = f99... (3 Replies)
I have a text file that has data like:
Data "12345#22"
Fred
ID 12345
Age 45
Wilma
Dino
Data "123#22"
Tarzan
ID 123
Age 33
Jane
I need to figure out a way of adding 1,000,000 to the specific lines (always same format) in the file, so it becomes:
Data "1012345#22"
Fred
ID... (16 Replies)
Hello,
I am trying to spool data from database into a file on solaris through ksh.
Data is getting fetched but the problem is record is getting split in to multiple lines.
excerpt from sql is
whenever sqlerror exit 1;
set define on
set echo off
set feed off
set head off
set... (1 Reply)
Data:
Pattern Data Data Data
Data Data Data
Data Data Data
...
With awk, how do I print the pattern matching line, then the subsequent lines following the pattern matching line. Varying number of lines following the pattern matching line. (9 Replies)
Generic Data validator
Data file:
Name,Sal,Dept
ABC,1234,D1
AYX,12356,D2
DHF,345,ED3
123,4565,FGJG
Config File:
Delimiter-","
Rule1-Name-
Rule2-Sal-
Rule3-Dept-*
Can be used to match any regex including date different format and numbers. (3 Replies)
Hallo Team,
I need to manipulate existing data file. Have a look at current data and expected data:
Current Data:
27873517141
27873540000
27873515109
27873517140
27873540001
27873540000
27873501343
27873540000
27873517140
27873511292
27873645989
27873540000
27873540000... (7 Replies)
Hi all,
I want to output the following pattern in a comma separted format, but am not able to do it.
Table1.FIND.Value= 124
Data
Data
Data
Data
Data
Table1.FIND.Value =256
Data
Data
Data
Data
Data
The outPut i expect is (5 Replies)