11-13-2006
Quote:
Originally Posted by shankarao
Hi,
How to embeded programme within perl programme.
Shankarao
Embed what kind of program in Perl? And what kind of "embedding" are you talking about?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello Friends,
I have a problem with install.can u tell me how can I install a programm?I use AIX(IBM) system.
And how can i access cd-rom?I can't mounted,coz i am not Root.(can u tell me another Command /way)?
Thanks all. (1 Reply)
Discussion started by: Christianto
1 Replies
2. UNIX for Dummies Questions & Answers
Hello Friends,
I have a problem with install.Can u tell me,how can i install a program?I am not a Root.n i use AIX(IBM) system.n how can i access a cdrom?I have been tried it,but didn't work.I can'n mounted(can u tell me another way or Command)?
thanks all. (3 Replies)
Discussion started by: Christianto
3 Replies
3. Programming
I have the programm, that says to STDERR(not to STDOUT!): "hello world!" and this programm is compiled and I have no sources.
When I try to open this programm in another using C:
=======================================
FILE *pp = popen("hello_to_stderr.exe", "r");
int c;
string a;
... (2 Replies)
Discussion started by: shalmoo
2 Replies
4. Programming
how do i run am encrpyrtic programm on unix, (4 Replies)
Discussion started by: ghoz
4 Replies
5. Shell Programming and Scripting
have a script in ksh called file1
#!/bin/ksh
cat my.html
---------------------------
and a html file hy.html
can u tell me that if i execute "file1" script it will open hy.html bt here it is showing the all the tags along with text.........
it should open the browser part... (2 Replies)
Discussion started by: ali560045
2 Replies
6. Cybersecurity
Hello,
I´m searching a antivirus solution for Solaris Desktop
PC´s (Intel).
Can anyone tell me more about some producer??
Thanks
Volker (6 Replies)
Discussion started by: kingossi
6 Replies
7. Shell Programming and Scripting
Problem with links programm.
Hi!
I write sctipt for aytomatic checking into IE stas.html ->
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<script type="text/javascript" src="newdata.submit()"></script>
</head>
<body... (1 Reply)
Discussion started by: beckss
1 Replies
8. Shell Programming and Scripting
Hi guys,
i am new to shell can u please explain how to get those two outputs
in temp1
i have i/p like
abcd
edk
lkg
jkl
loop
i need o/p
abcd *********
edk**********
lkg ***********
jkl ***********
loop************
need o/p
abcd
*************** (2 Replies)
Discussion started by: ashokkrishna063
2 Replies
9. Shell Programming and Scripting
Hi all I am using following code and input to duplicate entries till next row but out is cutting some words in this sample can anybody check on his system is there any error?
awk ' { if($2 !~ /^ *$/) { a=substr($0,length($1)+1,index($0,$NF)-length($NF)); b=$NF; } print $1, a, b } ' file... (1 Reply)
Discussion started by: Priyanka Chopra
1 Replies
LEARN ABOUT DEBIAN
xmltv::summarize
Summarize(3pm) User Contributed Perl Documentation Summarize(3pm)
NAME
XMLTV::Summarize - Perl extension to summarize XMLTV data
SYNOPSIS
# First get some data from the XMLTV module, eg:
use XMLTV;
my $data = XMLTV::parsefile('tv_sorted.xml');
my ($encoding, $credits, $ch, $progs) = @$data;
# Now turn the sorted programmes into a printable summary.
use XMLTV::Summarize qw(summarize);
foreach (summarize($ch, $progs)) {
if (not ref) {
print "
Day: $_
";
}
else {
my ($start, $stop, $title, $sub_title, $channel) = @$_;
print "programme starts at $start, ";
print "stops at $stop, " if defined $stop;
print "has title $title ";
print "and episode title $sub_title" if defined $sub_title;
print ", on channel $channel.
";
}
}
DESCRIPTION
This module processes programme and channel data from the XMLTV module to help produce a human-readable summary or TV guide. It takes care
of choosing the correct language (based on the LANG environment variable) and of looking up the name of channels from their id.
There is one public routine, "summarize()". This takes (references to) a channels hash and a programmes list, the same format as those
returned by the XMLTV module. It returns a list of 'summary' elements where each element is a list of five items: start time, stop time,
title, 'sub-title', and channel name. The stop time and sub-title may be undef.
The times are formatted as hh:mm, with a timezone appended when the timezone changes in the middle of listings. For the titles and channel
name, the shortest string that is in an acceptable language is chosen.
The list of acceptable languages normally contains just one element, taken from LANG, but you can set it manually as
@XMLTV::Summarize::PREF_LANGS if wished.
AUTHOR
Ed Avis, ed@membled.com
SEE ALSO
XMLTV(1).
perl v5.14.2 2004-01-03 Summarize(3pm)