I have to write an script for..
CUST: 123 trans:
some contents
CUST: 1234 trans:
some contents
Now wat i have to do is this:
CUST:123 akash trans:
some contents
CUST:1234 akash1 trans:
I have been able to add... (3 Replies)
Hello experts,
Here is my code.I can create the database.But I also want it to see standard output.Please see the blocked code.If i use them they show me weired symbols.
#include <stdio.h>
#include <stdlib.h>
struct date {
int month;
int day;
int year;
};
struct empRec{... (14 Replies)
I have to find the files older than 200 days from a path and copy them to some other directory with the current date stamp attached to it.
i have written like follows:
#!/bin/ksh
DSTAMP=$(date +"%y%m%d%H%M")
rm $CA_OUT_PATH/ftp_logs/temp
touch $CA_OUT_PATH/ftp_logs/temp
chmod 777... (13 Replies)
Im trying to write a bash script that has an if statment that when the user enters ONLY that exact argument, will echo what follows that conditon.
For example:
for file in $1
do
if
then
Var1=$(cat hello | egrep "that pattern" | awk '{ print $NF }')
cat $Var1
fi
done
Basically,... (3 Replies)
I opened strict.pm and found some not understandable stuff, please let me know if you have any Idea on the same.
1) Line 23 => $bits |= (what is $= here how it affect the statement)
2) Line 36 => $^H (what is that I haven't found any statement on this in google)
3) Line 41 =>... (3 Replies)
Hi All
I have searches getopts function in Perl a lot, but yet i didn't cleared with it.
First I want to know what is the meaning of
getopts('t:c:', \%options);
and please explain getopts function in an easy way.. (4 Replies)
I installed gcc4 today using setup.exe from cygwin. However, I cannot run any of my perl program after that. For example,
Run@Run-THINK /home
$ perl Process.pl
Can't locate strict.pm in @INC (@INC contains: /usr/lib/perl5/5.10/i686-cygwin /
usr/lib/perl5/5.10... (0 Replies)
What are the different ways to disable ssh strict checking? I've seen this mentioned a few times but it doesn't seem to be working.
$ ssh -o 'StrictHostKeyChecking no' admin@hostnamehttp://docs.oracle.com/cd/E35328_01/E35336/html/vmcli-ssh.html
Is there a file somewhere in /etc that I could... (4 Replies)
Discussion started by: cokedude
4 Replies
LEARN ABOUT DEBIAN
rdf::trine::iterator::bindings::materialized
RDF::Trine::Iterator::Bindings::Materialized(3pm) User Contributed Perl Documentation RDF::Trine::Iterator::Bindings::Materialized(3pm)NAME
RDF::Trine::Iterator::Bindings::Materialized - Materialized bindings class
VERSION
This document describes RDF::Trine::Iterator::Bindings::Materialized version 1.000
SYNOPSIS
use RDF::Trine::Iterator;
my $iterator = RDF::Trine::Iterator::Bindings::Materialized->new( @data, @names );
while (my $row = $iterator->next) {
my @vars = keys %$row;
# do something with @vars
}
my $iterator = RDF::Trine::Iterator::Bindings->new( &code, @names );
my $miter = $iterator->materialize;
while (my $row = $miter->next) {
my @vars = keys %$row;
# do something with @vars
}
$miter->reset; # start the iteration again
while (my $row = $miter->next) {
# ...
}
METHODS
Beyond the methods documented below, this class inherits methods from the RDF::Trine::Iterator::Bindings class.
"new ( @results, @names, %args )"
Returns a new materialized bindings interator. Results must be a reference to an array containing individual results.
"reset"
Returns the iterator to its starting position.
"next"
Returns the next item in the iterator.
"length"
Returns the number of elements in the iterator.
BUGS
Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/perlrdf/issues>.
AUTHOR
Gregory Todd Williams "<gwilliams@cpan.org>"
COPYRIGHT
Copyright (c) 2006-2012 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms
as Perl itself.
perl v5.14.2 2012-06-29 RDF::Trine::Iterator::Bindings::Materialized(3pm)