8 More Discussions You Might Find Interesting
1. Homework & Coursework Questions
find out lines in a given file consisting of the following pattern BCAA, BCAAA, BCAAAA, BCAAAAA, BCAAAAAA (1 Reply)
Discussion started by: Phaneendra G
1 Replies
2. UNIX for Advanced & Expert Users
I am trying to substitute a substring in a file and am having difficulty due to the presence of 'special characters'
I tried
sed -e "s/Bob's birthday 13/11/08 (today)/Bob's birthday 14/11/08 (tomorrow)/" file1
This does not action any change due to the square brackets.
How can I cater... (5 Replies)
Discussion started by: SAMZ
5 Replies
3. Shell Programming and Scripting
Hi
I'd like to cat, in linux, a file that holds special charcters, like "-->" and ">" and "]"
For example I have a file named test123.txt
it looks like this:
2008-09-11 00:27:01,496 -
< 0 > --> Start calculation of pattern , Pattern was split to pattern graphs
< 0 > System Tqls Optimizer... (5 Replies)
Discussion started by: liav
5 Replies
4. Solaris
Hi Guys,
what is a meta file system ? what is it use for?
What is /etc/vfstab?
What is the relationship between the "vfstab file and meta file system. (3 Replies)
Discussion started by: tlee
3 Replies
5. Solaris
Hi Guys,
what is a meta file system ? what is it use for?
What is /etc/vfstab?
What is the relationship between the "vfstab file and meta file system.
thanks (1 Reply)
Discussion started by: tlee
1 Replies
6. UNIX for Advanced & Expert Users
I have a csv file with a record size of greater than 2048.So when i try to open the file in VI..This is the error i get (test.csv" A line cannot be longer than 2048 characters)
Is there a way i can change this parameter to read a bigger line (2 Replies)
Discussion started by: kris01752
2 Replies
7. UNIX for Advanced & Expert Users
How do i remove single quotes(') from a file.
Can we use sed for it (2 Replies)
Discussion started by: kris01752
2 Replies
8. Solaris
Dear All,
I have created a UTF-8 database to store multi-lingual charcters. Below is the query from which i insert from Winsql (front-end third party database browser tool), the data gets inserted properly.
insert into a (no, lbl)
values (1, "Cliquez ici pour revenir Ã_ la recherche de... (2 Replies)
Discussion started by: lloydnwo
2 Replies
Class::Meta::Types::String(3pm) User Contributed Perl Documentation Class::Meta::Types::String(3pm)
NAME
Class::Meta::Types::String - String data types
SYNOPSIS
package MyApp::Thingy;
use strict;
use Class::Meta;
use Class::Meta::Types::String;
# OR...
# use Class::Meta::Types::String 'affordance';
# OR...
# use Class::Meta::Types::String 'semi-affordance';
BEGIN {
# Create a Class::Meta object for this class.
my $cm = Class::Meta->new( key => 'thingy' );
# Add a string attribute.
$cm->add_attribute( name => 'name',
type => 'string' );
$cm->build;
}
DESCRIPTION
This module provides a string data type for use with Class::Meta attributes. Simply load it, then pass "string" to the "add_attribute()"
method of a Class::Meta object to create an attribute of the string data type. See Class::Meta::Type for more information on using and
creating data types.
SUPPORT
This module is stored in an open GitHub repository <http://github.com/theory/class-meta/>. Feel free to fork and contribute!
Please file bug reports via GitHub Issues <http://github.com/theory/class-meta/issues/> or by sending mail to bug-Class-Meta.cpan.org
<mailto:bug-Class-Meta.cpan.org>.
AUTHOR
David E. Wheeler <david@justatheory.com>
SEE ALSO
Other classes of interest within the Class::Meta distribution include:
Class::Meta
This class contains most of the documentation you need to get started with Class::Meta.
Class::Meta::Type
This class manages the creation of data types.
Class::Meta::Attribute
This class manages Class::Meta class attributes, all of which are based on data types.
Other data type modules:
Class::Meta::Types::Perl
Class::Meta::Types::Boolean
Class::Meta::Types::Numeric
COPYRIGHT AND LICENSE
Copyright (c) 2002-2011, David E. Wheeler. Some Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.12.4 2011-08-06 Class::Meta::Types::String(3pm)