Hi Perl Gurus,
The output of the above is :
http://www.site.com"
I want to print http://www.site@domain.com without using escape sequence before '@' like '\@'.
Is there any way to do this in perl?
Thanks,
Som
Last edited by pludi; 10-08-2009 at 03:21 AM..
Reason: code tags, please
Hi,
I am writing a series of scripts for work to analyse intranet access logs. All of the scripts do as they should when run individually from the shell, but only when run from certain directories. This sounds like it may be a PATH issue but I am not sure. When I run a certain script, say... (3 Replies)
i'm writing some simple scripts to help me learn perl.
why does the print command get called after the shell script is executed?
the purpose of the shell script is to simply echo to the screen "script run". which is does, but before the print command, you can clearly see the shell script is... (3 Replies)
I have a very basic perl script that attempts to find if a process is running. If the process is not running then the script is supposed to start the process. If I execute the script from command line it works fine as expected. However if the script is executed via cronjob, the script cannot find... (1 Reply)
Hi
I have a file (say 'file1')and I want to search for a first occurence of pattern (say 'ERROR') and print ten lines in the file below pattern. I have to code it in PERL and I am using Solaris 5.9.
I appreciate any help with code
Thanks
Ammu (6 Replies)
Can someone tell me what I'm doing wrong with my perl script? I am new to Perl. This isn't even the final script, I'm just testing to see if it will print the directories with the files in it. For some reason my output is only printing the 1st, 6th, and last entries of the @sub_dir array. Each... (3 Replies)
Good evening to you all perl experts
I need your help
I have a very simple script where I´m trying to print a line from status.dat file.
The script will find the line containing "servicestatus", and I want to print the content of the next line.
For example, the file contains this text:... (6 Replies)
Ok, don't ask me why, but all calls to perl must be called by a shell script. Its really not ideal, but its what I have to work with.
Calling it isnt the issue, its passing in the arguments.
I have about 1000 perl scripts to call by a shell script. Right now, I'm executing the shell script... (3 Replies)
How can i print the output of a perl script on a unix console and redirect the same in a log file under same directory simultaneously ?
Like in Shell script, we use tee, is there anything in Perl or any other option ? (2 Replies)
Hi
I have a perl script that prints all the video and audio file information(playing duration).
It works fine in one of my friends linux laptop.
But it doesn't work in my both windows and linux.
My friend told me I have to do install some module ( ppm instal ...... )
but I have no... (1 Reply)
i have a file as below
sample.pl
parameter1
argument1
argument2
parameter2
I want out as below
argument1
argument2
that is , i want to print all the lines between parameter1 & parameter 2.
i tried with the following
if($mystring =~ m/parameter1(.*?)parameter2/) (2 Replies)
Discussion started by: roopa
2 Replies
LEARN ABOUT DEBIAN
rdf::query::functions::xpath
RDF::Query::Functions::Xpath(3pm) User Contributed Perl Documentation RDF::Query::Functions::Xpath(3pm)NAME
RDF::Query::Functions::Xpath - XPath functions
VERSION
This document describes RDF::Query::Functions::Xpath version 2.908.
DESCRIPTION
Defines the following function:
o http://www.w3.org/2005/xpath-functions#matches
o http://www.w3.org/2005/xpath-functions#abs
o http://www.w3.org/2005/xpath-functions#ceiling
o http://www.w3.org/2005/xpath-functions#floor
o http://www.w3.org/2005/xpath-functions#round
o http://www.w3.org/2005/xpath-functions#round-half-to-even
o http://www.w3.org/2005/xpath-functions#compare
o http://www.w3.org/2005/xpath-functions#concat
o http://www.w3.org/2005/xpath-functions#substring
o http://www.w3.org/2005/xpath-functions#string-length
o http://www.w3.org/2005/xpath-functions#upper-case
o http://www.w3.org/2005/xpath-functions#lower-case
o http://www.w3.org/2005/xpath-functions#encode-for-uri
o http://www.w3.org/2005/xpath-functions#contains
o http://www.w3.org/2005/xpath-functions#starts-with
o http://www.w3.org/2005/xpath-functions#ends-with
o http://www.w3.org/2005/xpath-functions#year-from-dateTime
o http://www.w3.org/2005/xpath-functions#month-from-dateTime
o http://www.w3.org/2005/xpath-functions#day-from-dateTime
o http://www.w3.org/2005/xpath-functions#hours-from-dateTime
o http://www.w3.org/2005/xpath-functions#minutes-from-dateTime
o http://www.w3.org/2005/xpath-functions#seconds-from-dateTime
o http://www.w3.org/2005/xpath-functions#timezone-from-dateTime
AUTHOR
Gregory Williams <gwilliams@cpan.org>.
perl v5.14.2 2012-01-31 RDF::Query::Functions::Xpath(3pm)