Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

moosex::storage::io::file5.18(3pm) [mojave man page]

MooseX::Storage::IO::File(3pm)				User Contributed Perl Documentation			    MooseX::Storage::IO::File(3pm)

NAME
MooseX::Storage::IO::File - A basic File I/O role VERSION
version 0.45 SYNOPSIS
package Point; use Moose; use MooseX::Storage; with Storage('format' => 'JSON', 'io' => 'File'); has 'x' => (is => 'rw', isa => 'Int'); has 'y' => (is => 'rw', isa => 'Int'); 1; my $p = Point->new(x => 10, y => 10); ## methods to load/store a class ## on the file system $p->store('my_point.json'); my $p2 = Point->load('my_point.json'); METHODS
load ($filename) store ($filename) Introspection meta BUGS
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT. AUTHORS
o Chris Prather <chris.prather@iinteractive.com> o Stevan Little <stevan.little@iinteractive.com> o XXXX XXX'XX (Yuval Kogman) <nothingmuch@woobling.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2007 by Infinity Interactive, Inc.. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.18.2 2013-12-21 MooseX::Storage::IO::File(3pm)

Check Out this Related Man Page

MooseX::Storage::Format::JSON(3pm)			User Contributed Perl Documentation			MooseX::Storage::Format::JSON(3pm)

NAME
MooseX::Storage::Format::JSON - A JSON serialization role VERSION
version 0.45 SYNOPSIS
package Point; use Moose; use MooseX::Storage; with Storage('format' => 'JSON'); has 'x' => (is => 'rw', isa => 'Int'); has 'y' => (is => 'rw', isa => 'Int'); 1; my $p = Point->new(x => 10, y => 10); ## methods to freeze/thaw into ## a specified serialization format ## (in this case JSON) # pack the class into a JSON string $p->freeze(); # { "__CLASS__" : "Point", "x" : 10, "y" : 10 } # unpack the JSON string into a class my $p2 = Point->thaw('{ "__CLASS__" : "Point", "x" : 10, "y" : 10 }'); METHODS
freeze thaw ($json) Introspection meta BUGS
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT. AUTHORS
o Chris Prather <chris.prather@iinteractive.com> o Stevan Little <stevan.little@iinteractive.com> o XXXX XXX'XX (Yuval Kogman) <nothingmuch@woobling.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2007 by Infinity Interactive, Inc.. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.18.2 2013-12-21 MooseX::Storage::Format::JSON(3pm)
Man Page

6 More Discussions You Might Find Interesting

1. AIX

Aix 5.3

Dear ALL, We are installing AIX 5.3, Can any one suggest me, 1) Preffered Storage Allocation 2) File System Structure 3) Maintainance Level 4) Specific patches need to be added 5) Software tools to be installed,if any. Thanks for your help, Regards, Satya (3 Replies)
Discussion started by: smandala.in
3 Replies

2. Programming

Ideas Please (File Sequencing)

Hello All Hope someone can help me with an idea or two on how to approach the following situation; I currently have a process that generates sequenced files. The sequencing is very important and skipping sequences are not allowed. The applicaton has a single thread that consume data produced... (9 Replies)
Discussion started by: bcpkvh
9 Replies

3. Filesystems, Disks and Memory

VERITAS Storage Foundation

Hi I have some practical experience with VERITAS Volume Manager and File System. Now I want to appear for VERITAS Storage Foundation 5.0 certification. From my previous experience with Solaris certification I can say that some kind of preparation with sample/practice questions would be highly... (0 Replies)
Discussion started by: chrs0302
0 Replies

4. Programming

I/O on File

Hello everybody... In my client - server application I decided to save user name and password in a file by the system call creat(), write(). recv(i,buf,sizeof(buf),0); result=write(ds_user,buf,sizeof(buf)); if (result==-1){ ... (10 Replies)
Discussion started by: italian_boy
10 Replies

5. Programming

Dereferencing pointer to incomplete type

// Hello all, I am having this error "Dereferencing pointer to incomplete type " on these 2 lines: xpoint = my_point->x; ypoint = my_point->y; I am having no clue y this is happening. Any help would be greately appreciated!!!! #include<stdio.h> #include<string.h>... (2 Replies)
Discussion started by: mind@work
2 Replies

6. Shell Programming and Scripting

Parsing help ( awk)

Input File ( this is a sample record ) Storage Group Name: DRT_ny-iadsql1-c_ny-iadsql2-c Storage Group UID: 00:21:E9:C7:2D:E0:E1:11:82:CC:00:60:16:10:04:0A HBA/SP Pairs: HBA UID SP Name SPPort ------- ... (2 Replies)
Discussion started by: greycells
2 Replies