Hello all,
This is a bit simple but I cannot do it! I have a big table of values between 0 and 1. some cells have NA instead of having any value.
I want to exchange all values with "1" and write "0" for all "NA" .
for changing "NA" to zero I used sed:
sed -i 's/NA/0/g' input.txt
But... (3 Replies)
Hear how the changing needs of massive scale-out computing is driving a transfomation in technology and learn how HP is supporting this new evolution of the web.
More... (1 Reply)
Hi Friends,
Please send me the code for exchanging the data between two programs.
The scenario is like below:-
Program A reads data and sends it to Program B.
Program B accept the data from program A and then prints it on console or give to printer for printout.
If one or more programs... (0 Replies)
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)