Data::AMF(3pm) User Contributed Perl Documentation Data::AMF(3pm)NAME
Data::AMF - serialize / deserialize AMF data
SYNOPSIS
use Data::AMF;
my $amf0 = Data::AMF->new( version => 0 );
my $amf3 = Data::AMF->new( version => 3 );
# AMF0 to Perl Object
my $obj = $amf0->deserialize($data);
# Perl Object to AMF0
my $data = $amf0->serialize($obj);
DESCRIPTION
This module is (de)serializer for Adobe's AMF (Action Message Format). Data::AMF is core module and it recognize only AMF data, not AMF
packet. If you want to read/write AMF Packet, see Data::AMF::Packet instead.
SEE ALSO
Data::AMF::Packet, Catalyst::Controller::FlashRemoting
NOTICE
Data::AMF is currently in a very early alpha development stage. The current version is not support AMF3, and application interface is
still fluid.
METHOD
new(%option)
Create Data::AMF object.
Option parameters are:
version
Target AMF version.
It should be 0 or 3. (default 0 for AMF0)
serialize($obj)
Serialize perl object ($obj) to AMF, and return the AMF data.
deserialize($amf)
Deserialize AMF data to perl object, and return the perl object.
AUTHOR
Daisuke Murase <typester@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-08-31 Data::AMF(3pm)
Check Out this Related Man Page
Data::AMF::Packet(3pm) User Contributed Perl Documentation Data::AMF::Packet(3pm)NAME
Data::AMF::Packet - serialize / deserialize AMF message packet
SYNOPSIS
use Data::AMF::Packet
my $packet = Data::AMF::Packet->deserialize($data);
my $data = $packet->serialize;
DESCRIPTION
Data::AMF::Packet provides to serialize/deserialize AMF Packet.
AMF Packet is an extended format of AMF, and is used for Flash's HTTP based Remote Procidure Call (known as Flash Remoting).
SEE ALSO
Data::AMF, Catalyst::Controller::FlashRemoting
METHODS
serialize
Serialize Data::AMF::Packet object into AMF Packet data.
deserialize($amf_packet)
Deserialize AMF Packet, and return Data::AMF::Packet object.
ACCESSORS
version
return AMF Packet version.
headers
return AMF Packet header objects. (ArrayRef of Data::AMF::Header)
messages
return AMF Packet Message objects. (ArrayRef of Data::AMF::Message)
AUTHOR
Daisuke Murase <typester@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::Packet(3pm)
I am using perl 5.8.0.
I need to check some values to see it they are floats. Our system does not have Data::Types so I can't use is_float. Is there something else that I can use? The only thing in Data is Dump.pm. I am not allowed to download anything to our system so I have to use what I have.... (3 Replies)
Someone who can help me. the following error occur, what does it mean, and any possible solution you can give.thanks
syslog: fp: NOTICE: fp(2): PLOGI to d5900 failed state=Packet Transport error , reason=No Connection (Database)
$cat /var/adm/messages
Nov 3 05:16:21 vfaus279 fp: ... (7 Replies)
Hi,
I have a requirement for creating a Perl Script which will perform Data Import process in an automated way and I am elaborating herewith :
Section 1 )
- use the following command line format :
"./import.pl -h hostname -p port -f datafile.txt"
Section 2)
datafile.txt will... (3 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)
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)
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)