Hi All,
Seems to be OT but still thought you guys can help me I have an html page If
I click submit I calls cgi script and executes that but in my Case Windows XP It is
just opening that script. and not executig that. Could you please suggest how to solve
this problem
Thanks,
Amit
__
Hi All,
I have written one cgi script and when try to run through my internet explorer
It is opening that script rather than executing that script. Please help me to solve
this problem.
Thanks & regards,
Amit Sharma.
_
Get You
Hi All,
I am trying to run a cgi script which will search through the directory
for the input file name mentioned in the link and will show the
location of the same on a new web page. I am using File:Find and wanted
function to do that but when try to run the same through internet
explo
Hi All,
I wanted to search for *.html file on Server which I can mount in my Windows
XP:
e.g. I drive mapped to tech\work\web\documents.
as I:\tech\work\web\documents
now i try to go inside this directory
as
$basedir="I:/tech/work/web/documents";
chdir($basedir);
but this is not working
place I: with D: It starts working. Please help.
Thanks,
Amit
--- "Jenda Krynicky" <[EMAIL PROTECTED]> wrote:
>From: "Rob Dixon" <[EMAIL PROTECTED]>
>> Beginner Beginner wrote:
>> > Hi All,
>> > I wanted to search for *.html f
Hi,
I am trying to create an array of references but am getting stuck at
how/when to push the reference into the array
Below is some sample data and a snip of what I have been trying. What
is happening is that the reference $times is getting pushed into the
array before all the keys are define
On 9 Jun 2006 at 11:55, Peter Cornelius wrote:
> The problem you're having is that you're creating a new hash
> reference in each of your if/elsif statements. I'm going to make
> some assumptions about your data since I don't know anything about
> it, but it looks like you want to group back/
On 16 Jun 2006 at 12:15, Paul Johnson wrote:
> On Tue, Jun 13, 2006 at 12:06:02PM -0700, Lawrence Statton wrote:
>
> > Charles Clarkson wrote:
> > > @{ %$hash_ref }{ keys %kv_pairs } = values %kv_pairs;
> >
> > You can excise a little of the snyactic sugar there
> >
> > @$hash_ref{keys %kv_
On 21 Jun 2006 at 11:28, Smith, Derek wrote:
> From: Smith, Derek
> Sent: Wednesday, June 21, 2006 11:19 AM
> To: beginners@perl.org
> Subject: uninitialized value error
>
>
> I am getting the following error yet the script is doing what I need it to do
> restart a process:
>
> Use of uninitializ
On 21 Jun 2006 at 17:08, Beginner wrote:
> for (;;) {
> print SDTERR "PS=$_\n";
> push @arry, (split)[1];
> }
of course that should read
print STDERR "PS=$_\n";
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
On 3 Jul 2006 at 3:04, Umar Draz wrote:
> hi dear members!
>
> i am new in Perl community i want to declare a function and try to pass
> some parameters same as i do in php. First i declare a function (umar).
>
>
> sub umar ($width, $height) {
> $area = $width * $height / 2;
> return
On 5 Jul 2006 at 23:12, BenBart wrote:
> Is there another option of running an OS command or UNIX script besides
> using system "[OS_COMMAND]", for example system "cat /etc/hosts" or
> system "[UNIX_SCRIPT]"?
Yes, as you already know: exec, folk and there's the backtick operator `.
> How can I
Hi,
I am being a bit lazy here. I already had this hash defined (cut & pasted from
another file) and
didn't want to re-type it.
my %char = (
65 => 'a',
66 => 'b',
67 => 'c',
68 => 'd',
69 => 'e',
70 => 'f',
71 => 'g',
72 => 'h',
On 5 Jul 2006 at 10:56, Mumia W. wrote:
> Beginner wrote:
> > Hi,
> >
> > I am being a bit lazy here. I already had this hash defined (cut & pasted
> > from another file) and
> > didn't want to re-type it.
> >
> > my %char = (
On 12 Jul 2006 at 0:32, Mahdi A Sbeih wrote:
> Hi Chandru,
>
> Do I need to go to windows_explorer->Tools->Folder Options->File Types
> and associating the extension ".pl" with the "perl" executable?
Yes. However if you've installed activestate's Perl it would have asked if you
wanted to do th
On 27 Jul 2006 at 22:20, Sayed, Irfan (Irfan) wrote:
> I need to send / print / write the output of one command to a file
> through perl script
>
> can anybody plz help.
deja vu...didn't I see this 2 hours ago!
perldoc -q system
or
perlfaq8#how_can_i_capture_stderr_from_an_external_command
On 28 Jul 2006 at 14:13, Dr.Ruud wrote:
> Ranish George schreef:
>
>
> > Have you tried changing the shebang line as I have mentioned in
> > one of the follow up. Trying changing the shebang to
> >
> > #!C:\Perl\bin\perl
>
> That should not make any difference. Windows doesn't use the shebang;
On 2 Aug 2006 at 3:24, BenBart wrote:
> Hi all,
>
> Can anyone please tell me how to get the BASENAME and BASEDIR of a file
> ... i.e. for example, if I have C:\Windows\Temp\Dir1\MyFile.TXT, I want
> to be able to get the BASENAME which is MyFile and the BASEDIR which is
> C:\Windows\Temp\Dir1
Hi,
Error message:
"Exiting subroutine via next at mk-thumbs.pl line 188"
I have a script that uses File::Find.
...snip
use strict;
use warnings;
use File::Basename;
use File::Find;
...snip
find(\&wanted, @dirs_to_search);
In the callback for find I have this:
sub wanted {
if ($_ !~ /html
On 9 Aug 2006 at 0:33, James Marks wrote:
Ohh ohh. I think I know this (they'll flame me if I'm wrong).
Is it?
use strict;
use warnings;
my $no_dirs = @{ $web_sites_directory_tree[$i]{subdirectory} };
I hope I'm right..fingers crossed.
Dp.
> # COUNT NUMBER OF DIRECTORIES - (THIS WORKS)
On 9 Aug 2006 at 0:54, James Marks wrote:
>
> On Aug 9, 2006, at 12:33 AM, James Marks wrote:
>
> > Down, near the bottom of this example code (marked), I'm trying to
> > count the number of elements of an array which is the value of a key
> > in a hash which is, itself, an element of an array
On 9 Aug 2006 at 14:28, Mike Martin wrote:
> Does anyone know of any resources to aid in this?
>
> I have a few scripts which I am trying to turn into modules, however
> the functions which run as a script (CGI) do not run as modules
>
> Any help etc
This sounds like a job for modperl.
Persuma
Hi,
I am trying to open a binary file and find a string that begins:
) {
if ($_ =~ "
On 11 Aug 2006 at 9:28, Tom Phoenix wrote:
> On 8/11/06, Beginner <[EMAIL PROTECTED]> wrote:
>
> > But once I have found my tag I would like to use sysseek and sysread
> > to slurp up some data. Is there some way I can find out where my
> > position in the file is
On 11 Aug 2006 at 14:45, John W. Krahn wrote:
> Beginner wrote:
> > I would be interested to know who I can improve this, or what a real
> > programmer would do differently. Any tips are much appreciated.
>
> Okey doke!
> > What I have so far ===
On 14 Aug 2006 at 3:51, John W. Krahn wrote:
One last question (honest).
> > What is "s!." in line 12, "next unless s!"
>
> s/// is the substitution operator.
Why are you substituing here? Isn't a match good enough or is it
necessary for some other reason?
> > Here the output I get:
> >
Hi,
I trying to be more modular and have put some functions into a
separate file, myfunctions.pm. I have another script(s) which call
the exported functions from myfunctons.pm. What I would now like is
for the myfunctions.pm file to be able to access a filehandle opened
by the calling script,
On 28 Aug 2006 at 9:37, Daniel Kasak wrote:
> Hi all.
Olla
> Does anyone know if it's possible to create a content index with
> PDF::API2, so people viewing the PDF can click in the index and go
> straight to the corresponding page of the PDF document?
If your referring to the thumbnails sideb
On 18 Sep 2006 at 15:05, John W. Krahn wrote:
> Emilio Casbas wrote:
> > I have this script;
> >
> > ---
> > use File::Find;
> >
> > $File::Find::no_chdir = 0;
> > find(\&wanted, @ARGV);
> >
> > sub wanted {
> >print "$File::Find::name\n" if(-d);
> >}
> >
> > ---
> >
>
On 18 Sep 2006 at 15:43, David Romano wrote:
> Beginner wrote on Mon, Sep 18, 2006 at 03:24:08PM PDT:
> > > print "$dir\n",
> > > map !/\A\.\.?\z/ && -d "$dir/$_" ? "$dir/$_\n" : (),
> > > readdir $dh;
> > >
On 18 Sep 2006 at 22:34, John W. Krahn wrote:
I see. Thanx
And this I guess:
Ternary ``?:'' is the conditional operator, just as in C. It works
much like an if-then-else. If the argument before the ? is true, the
argument before the : is returned, otherwise the argument after the :
is return
Hi,
Sorry for the OT post.
I have been looking at CRM (customer relations management) packages
and the term LAMP (Linux, Apache, MySql, PHP) keeps appearing. The
problem is that PHP is rather slow and perl or mod_perl would be a
far better choice. Yet I can't find anything that takes this
app
Hi,
I am not sure if have all the facts assembled but it looks like I
have a clash between two localy installed packages; Image::Info and
Image::MetaData.
I only noticed when I tried to use Image::Info to read some data on a
TIFF file. I got the error:
Undefined subroutine &Image::Info::TIFF:
fine.
I got the package from CPAN. I'll try and contact the maintainer and
let them know.
Dp.
On 26 Sep 2006 at 14:53, Beginner wrote:
> Hi,
>
> I am not sure if have all the facts assembled but it looks like I
> have a clash between two localy installed packages; Image::
On 11 Oct 2006 at 17:14, Mazhar wrote:
> From the help above i created a new perl code and i was successfull in
> running the code by typing the command /scripts/newxxx.pl but the same is
> not executed by cron i have the cron entry as below
>
> 10 * * * * /scripts/newxxx.pl
This as to be the
Hi All,
I am knocking my head against a wall trying to work with directories
with spaces.
I need to translate some file paths like the one below:
/data/scanning/phil/edits/gary/finished/STI 9-10-06/E0102.tif
into
/var/www/phil/pix/E0102.jpg
(I need the path to the tif to make the jpeg).
If
On 17 Oct 2006 at 13:16, Perl beginners wrote:
> Hi All,
>
> I am knocking my head against a wall trying to work with directories
> with spaces.
>
> I need to translate some file paths like the one below:
>
> /data/scanning/phil/edits/gary/finished/STI 9-10-06/E0102.tif
>
> into
> /var/www/p
On 17 Oct 2006 at 15:09, Rob Dixon wrote:
> Beginner wrote:
> >
> > On 17 Oct 2006 at 13:16, Perl beginners wrote:
> >>
> >> Hi All,
> >>
> >> I am knocking my head against a wall trying to work with directories
> >> with spaces.
On 17 Oct 2006 at 17:19, Rob Dixon wrote:
> Beginner wrote:
> > On 17 Oct 2006 at 15:09, Rob Dixon wrote:
> >>
> >> my @tif = glob("'$d/*tif'");
> >
> > I am pretty sure I had tied this, it looks like it from my post.
> >
>
Hi All,
I posted this to this list as it's as much a fork() issue as a CGI
one. Hope I've done the right thing.
I am trying to display a html page and at the same time download a
file from a multi-part form. The files are quite large to I wanted to
minimise the time it took for the browser to
On 24 Oct 2006 at 12:12, Beginner wrote:
Sorry going to top post as I made a mistake. I was doing a straight
print and that was why the file was was being displayed.
Apologies.
Dp.
> Hi All,
>
> I posted this to this list as it's as much a fork() issue as a CGI
> one. H
If you are trying to use Template::Tookit then you would still
declare it's use as
use Template;
I believe this is the module that your looking for if you've seen
that declartion in a script somewhere.
HTH.
Dp.
On 31 Oct 2006 at 12:22, Mário Gamito wrote:
> Hi,
>
> I'm trying to find a PERL m
X-cs: R
X-CS-Version: 1.0
From: bob <[EMAIL PROTECTED]>
X-RS-ID:
X-RS-Flags: 0,0,1,1,0,0,0
X-RS-Sigset: -1
To: kevin
Subject: New ftp account created
Reply-to: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 8BIT
Date: Fri, 20 Jan 20
On 9 Nov 2006 at 10:49, Tom Phoenix wrote:
> On 11/9/06, Beginner <[EMAIL PROTECTED]> wrote:
>
> > I have a file that, I think is in a binary format, containing emails.
> > The file is from my email client, Pegasus, and I want to extract all
> > the emails stored
Hi,
I am trying to create a line graph with GD::Graph::Lines.
I have data being passed by CGI in the format:
"ancode_1" = "ADV "
"ADV_2006" = "117216 "
"ADV_2005" = "104776 "
"ancode_2" = "BAP "
"BAP_2006" = "0 "
"BAP_2005" = "270 "
"ancode_3" = "BOO "
"B
On 22 Nov 2006 at 15:14, Beginner wrote:
> "ancode_1" = "ADV "
> "ADV_2006" = "117216 "
> "ADV_2005" = "104776 "
> "ancode_2" = "BAP "
> "BAP_2006" = "0 "
>
On 22 Nov 2006 at 17:35, Rob Dixon wrote:
> Beginner wrote:
> > On 22 Nov 2006 at 15:14, Beginner wrote:
> >>
> [snip]
> >>
> >> The number of years can vary so you might get data from 2006->1990.
> >>
> >> The data looks like it is sui
On 22 Nov 2006 at 17:35, Rob Dixon wrote:
> Beginner wrote:
> > On 22 Nov 2006 at 15:14, Beginner wrote:
> >>
> [snip]
> >>
> >> The number of years can vary so you might get data from 2006->1990.
> >>
> >> The data looks like it is sui
Hi,
I have a number of jpegs I wanted to rename. I wrote a short script
to do it but the new file name is not always generated correctly. The
script should find the last letter in the filename (before the
extension) and substitute it for '_a'.
If you look at the results below you'll see that '
On 24 Nov 2006 at 23:55, D. Bolliger wrote:
> Beginner am Freitag, 24. November 2006 14:48:
> > Hi,
> >
> > I have a number of jpegs I wanted to rename. I wrote a short script
> > to do it but the new file name is not always generated correctly. The
> > script s
Hi,
I am trying to parse a xml file. Some of the tags are empty, like
this one:
# Data::Dumper output
'order_number' => {},
I have been trying to check if there is any content within the
hashref (say for order_number) returned by XML::Simple but I am not
getting the results I had hoped for.
On 4 Dec 2006 at 8:47, Tom Phoenix wrote:
> On 12/4/06, Beginner <[EMAIL PROTECTED]> wrote:
>
> > print "found $ref->{'order_number'}\n";
>
> > I get "found HASH(0xacacfe8)".
>
> That's a reference to a hash. It s
Hi,
I have made a script that reads a XML file from disk and creates a
PDF from the content. The script currently uses XML::Simple to parse
the XML data.
For the next phase I would like to receive the PDF from XML via HTTP,
rather than have to slurp up the file from disk. I believe this is
po
On 7 Dec 2006 at 3:31, isaac vanderpuije wrote:
> have a problem installing the perl msi(windows platform) can anyone help me,
> because i need to learn perl urgently. thanks
>
Could you give us a few more details about the error message and what
you've done to try and install it. What is yo
Hi All (and a happy holiday to those that will get a break),
I am trying to read in an XML file of addresses. I need to remove all
the address data from the file where code =~ /^000/ (there are none
in the example data below). I need to reproduce that data 'as is', so
I need to honour the tag s
On 24 Dec 2006 at 12:23, Rob Dixon wrote:
> Randal L. Schwartz wrote:
> > "Rob" == Rob Dixon <[EMAIL PROTECTED]> writes:
> >
> > Rob> my @bad = $doc->findnodes(q{//address[starts-with(code, "BJPU")]});
> >
> > Actualy, doesn't that require code immediately below addess?
>
> Yes
>
> > Don't you
On 3 Jan 2007 at 8:02, Tom Messmer wrote:
> Hello everyone,
Hello and welcome,
> Just joined this list and I have a doozie I've been working on for a
> bit here to no avail. The entire problem is this; I have a list of
> files, say that they are named "flynn.foo, flynn_something.foo,
> fla
On 3 Jan 2007 at 16:19, Tom Messmer wrote:
Hi Tom,
They like you to bottom post of this list. See below.
> instead of
> Copying /usr/blah/htdocs/media/events/blah06/epic_struggle/mp3/
> cuchailain.mp3-> /home/messmer/test/fake_mp3dir/cuchailain/
> cuchailain.mp3
>
> In other words, there will be
Hi,
I am trying to parse a file and extract some names. The data has come
with some odd characters in, and these characters are sandwiched in
the middle of the string I am trying to extract.
If i open the file in text editor it looks like this:
JON DAVIES/JIM REED
That leading space is transl
On 10 Jan 2007 at 9:58, Tom Phoenix wrote:
> On 1/10/07, Beginner <[EMAIL PROTECTED]> wrote:
> You can use Perl to tell you what the odd characters are. I often use
> an ASCII table and unpack:
>
> print unpack("H*", $data), "\n";
>
> > MIK
On 11 Jan 2007 at 2:49, Oliver Block wrote:
> Hello list,
>
> first of all a blessed 2007 to all of you.
>
> Can anyone tell me, if there is a way to force CGI.pm to deliver the html
> code
> with a DOCTYPE switch for HTML4 and not XHTML?
>
> As there are some problems with the media type for
Hi,
I have to do some sanity checks on a large xml file of addresses
(snip below). I have been using XML::LibXML and seem to have started
ok but I am struggling to navigate around a record.
In the sample date below your'll see some addresses with "DO NOT..."
in. I can locate them easily enough
On 12 Jan 2007 at 17:06, Rob Dixon wrote:
Hi Rob,
> >
> > In the sample date below your'll see some addresses with "DO NOT..."
> > in. I can locate them easily enough but I am struggling to navigate
> > back up the DOM to access the code so I can record the code with
> > faulty addresses.
> >
On 18 Jan 2007 at 9:55, Brent Clark wrote:
> To whom it may concern
>
> I have a problem whereby on sending an email, my mailserver does not allow
> for ip, (needs to be wrapped in [] ).
>
> >> 220 mail.eccotours.co.za ESMTP Exim (Ecco Tours) 4.63 Wed, 17 Jan 2007
> >> 16:47:41 +0200
> << EHLO
Hi all,
Sorry I am sure this is a lame question.
I want to print out some column (with heading) and I want them evenly
spaced. I know this is a printf but the format eludes me.
printf("%c12", $var); # prints $var12$var12
%s seems to give me no output at all.
Any ideas?
TIA,
Dp.
--
To uns
On 18 Jan 2007 at 7:19, Hal Wigoda wrote:
> for one thing, you need to add "\n" for newline.
> > printf("%c12", $var); # prints $var12$var12
> >
> > %s seems to give me no output at all.
> >
I wouldn't want a newline in the middle of my column heading. I would
like a 12 character spacing betw
On 22 Jan 2007 at 16:42, Igor Sutton wrote:
> Hi Jenda,
>
> I read your message and gave XML::Rules a try, but the tests aren't ok
> on Linux. You can change the last line of t/boilerplate.t from
>
> module_boilerplate_ok(File::Spec->catfile('\lib\XML\Rules.pm');
>
> to
>
> module_boilerplate_
On 1 Feb 2007 at 9:30, Patricio A. Bruna wrote:
> Hi,
> Anyone knows a easier method, that guest and try, to print an invoice in a
> prepinted paper, i need to fill the gaps.
> The size of the page is Letter.
>
I am not sure if this is easier but I use PDF::API2 but I think it's
the same pr
Hi All,
I need to discover all the used ip addresses on my subnet, hopefully
getting the netbios name as well and any other details.
Basically i ran out of dhcp leases today. I need to increase the size
of the pool but want to have some details of what hosts are using
what before I make any ch
On 15 Feb 2007 at 11:46, Beginner wrote:
> Hi All,
>
> I need to discover all the used ip addresses on my subnet, hopefully
> getting the netbios name as well and any other details.
>
> Basically i ran out of dhcp leases today. I need to increase the size
> of the pool
Hi,
I am trying to parse some dhcp-lease files to extract the ip, mac and
hostname.
I am struggling to get either, the regex of the $/, correct. I am not
sure which combination of these I should use.
There is some sample data and my best effort below. Can anyone offer
any pointers?
TIA,
Dp.
On 26 Feb 2007 at 15:58, D. Bolliger wrote:
> Beginner am Montag, 26. Februar 2007 14:50:
> > Hi,
>
> Hi
>
> > I am trying to parse some dhcp-lease files to extract the ip, mac and
> > hostname.
> >
> > I am struggling to get either, the regex o
On 26 Feb 2007 at 18:13, D. Bolliger wrote:
> Beginner am Montag, 26. Februar 2007 17:02:
> > On 26 Feb 2007 at 15:58, D. Bolliger wrote:
> > > Beginner am Montag, 26. Februar 2007 14:50:
>
> Hi
>
> > > > I am trying to parse some dhcp-lease files to e
I think GET request are restricted to 256 characters, try using POST
instead.
HTH,
Dp.
On 28 Feb 2007 at 18:57, Tatiana Lloret Iglesias wrote:
> Hi all,
>
> i have to browse a very long URL from my PERL script and it fails:
>
> http://appft1.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=HITO
method doesnt allow very very long url's ...
> how can I use POST from Perl code? do you have any example?
>
> Thanks!
> T
>
>
> On 2/28/07, Beginner <[EMAIL PROTECTED]> wrote:
> >
> > I think GET request are restricted to 256 characters, try using POS
Hi All,
This is a long shot.
I have a list of files:
hash.buckets
page.index
page.wordlist
word.list
word.index
hash.file
They are part of a SQL/Apache/mod_perl installation and these are
some kind of indices for searches. I want to examine the contents if
possible.
It's quite possible that
On 28 Feb 2007 at 9:58, Tom Phoenix wrote:
> On 2/28/07, Beginner <[EMAIL PROTECTED]> wrote:
>
> > I have a list of files:
> >
> > hash.buckets
> > page.index
> > page.wordlist
> > word.list
> > word.index
> > hash.file
> >
>
Hi,
I am trying to get started with SOAP. I am using mod_perl::Registry,
the server script is below.
I want to verify that the number of arguments being passed to the
server is correct. In the snip below I presumed all the arguments
would be items with @_ but it looks like all the arguments ar
Mega. About time too.
On 5 Mar 2007 at 11:56, Mathew wrote:
> http://articles.techrepublic.com.com/2100-1009_11-6164113.html?tag=nl.e019
>
> Mathew
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On 6 Mar 2007 at 6:08, Jeff Pang wrote:
> Is it possible to send an variable (through the env or as an
> >argument, or ) so I can use the variable $dir from the module
> >test.pl to set the variable $vardir in param.pl. ??
> >
>
> Yes you can.
> You may declare the vars wanted to be shared
Hi,
Following on from the earlier thread about storing common code in a
central file, I have hit a problem when trying to do something
similar.
I have been toying with SOAP. There seems to be a number of ways to
create SOAP services and I opted for one of the examples at
guide.soaplite.com.
Hi,
When I ask for the filehandle position (tell) it is reporting the
pointer as being a few bytes further along than I expect it to be.
For instance if I do this:
#!/bin/perl
use strict;
use warnings;
my ($start,$d,$var);
my $file = 'myjpeg.jpg';
open(FH,$file) or die "Can't open $file: $!\n
On 12 Mar 2007 at 9:34, Tom Phoenix wrote:
> On 3/12/07, Beginner <[EMAIL PROTECTED]> wrote:
>
> > When I ask for the filehandle position (tell) it is reporting the
> > pointer as being a few bytes further along than I expect it to be.
>
> > binmode(FH);
> &g
On 12 Mar 2007 at 11:09, Grant wrote:
> Hello,
>
> I'm having a lot of trouble figuring out how to remove blank lines
> from my HTML. The lines are generated by my shopping cart. I use
> (and highly recommend) interchange:
>
> http://www.icdevgroup.org
>
> I basically want to wrap all of my c
On 12 Mar 2007 at 10:49, Tom Phoenix wrote:
> On 3/12/07, Beginner <[EMAIL PROTECTED]> wrote:
>
> > What I am tring to do is find the x and y dimension of a jpeg
>
> Ah, Image::Size.
>
> http://search.cpan.org/~rjray/Image-Size-3.01/lib/Image/Size.pm
>
&g
Hi,
I am trying to find a means of monitoring a directory for activity. I
would like a perl process to aware if a file has been dropped into a
specific folder and then take some action.
In the past I have used cron for this but I was thinking this isn't
the best choice because 1) You have to s
Hi,
OS: FC4
With gamin-0.1.1-3.FC4 and gamin-devel-0.1.1-3.FC4 installed
I have hit an error while trying to install Sys::Gamin. I can can run
make but the `make test` is failing.
The test file for Sys::Gamin reads:
use Test;
use SGI::FAM;
plan tests => 1;
ok (SGI::FAM::FAMChanged != SGI::FA
Hi,
For some reason my sprintf usage is not returning the numbers I had
expected and appears to be rounding down. Is there something wrong
with my formatting below.
=== code snip ==
my ($x,$y) = imgsize($fqn);
my $size = $x*$y*3;
my $ksiz
On 15 Mar 2007 at 8:05, Tom Phoenix wrote:
> On 3/15/07, Beginner <[EMAIL PROTECTED]> wrote:
>
> > For some reason my sprintf usage is not returning the numbers I had
> > expected and appears to be rounding down. Is there something wrong
> > with my formatting be
On 15 Mar 2007 at 8:20, Tom Phoenix wrote:
> On 3/15/07, Beginner <[EMAIL PROTECTED]> wrote:
>
> > I have hit an error while trying to install Sys::Gamin. I can can run
> > make but the `make test` is failing.
>
> > BEGIN failed--compilation aborted at t/gamin
Hi,
I have a large, 1.3GB xml file that I was trying to validate. It
turns out that the file has a lot of exotic characters in it such as:
é
è
Ä
È
...etc
The area of encoding and internationalisation is one I have no
experience of at all and from what I've heard it is rather complex
and difficult
On 20 Mar 2007 at 19:46, Chris Parker wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Rob Dixon wrote:
> > Chris Parker wrote:
> >>
> >> Hello all,
> >>
> >> How do I get text out of a tiff image? Scenario is that I have alot of
> >> directories named (ex. 000, 020, 000) with files
On 21 Mar 2007 at 17:05, kilaru rajeev wrote:
> Hi,
>
> Can anybody help me to add a directory to @INC variable?
>
> Thanks,
> Rajeev Kilaru
>
Either of these should work. Put them at the top, before you use
something from somedir.
1)
use lib '/path/to/somedir';
2) unshift @INC, '/path/to/
On 20 Mar 2007 at 12:55, Chas Owens wrote:
> On 3/20/07, Beginner <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I have a large, 1.3GB xml file that I was trying to validate. It
> > turns out that the file has a lot of exotic characters in it such as:
> > é
&g
On 21 Mar 2007 at 0:00, Jeff Pang wrote:
>
> >
> >1)
> >use lib '/path/to/somedir';
> >
> >2) unshift @INC, '/path/to/somedir';
> >
>
> This can't work when you add a path to @INC on runtime.
>
> BEGIN {
> unshift @INC,'/path/...';
> }
Do you mean you have to put it in a BEGIN block to wo
On 21 Mar 2007 at 20:05, Dr.Ruud wrote:
> "Beginner" schreef:
>
> > The Iconv route hasn't been too successful either. I tried
> > Text::Iconv->new('ISO8859-1','utf8');
> > Thinking that my data is currently ISO8859-1but the resul
On 22 Mar 2007 at 8:59, Kumar, Akshay wrote:
> Thanks for the people who responded to original query.
> Another related query.
> Whats the best way to specify common set of include library directories,
> so that I don't end up including (use lib OR "-I") in each file using my
> local modules. (rec
On 26 Mar 2007 at 11:55, Dave Adams wrote:
> What are the general steps to building a hash from and xml document?
>
> Here are my steps:
>
> 1. Read in xml document using XML::Simple
> 2. Create and empty hash
> 3. Loop through $VAR1 (the anonymous datastructure) and populate hash
>
> Is this t
Hi,
I am trying to extract the iso code and country name from a 3 column
table (taken from en.wikipedia.org) and have noticed a problem with
accented characters such as Ô.
Below is my script and a sample of the data I am using. When I run
the script the code beginning CI for Côte d'Ivoire returns
Hi,
I might be in above my head here so bear with me if I am not making
sense.
I have to retrieve and extract an xml fragment from a REST server. I
have followed some examples from the "Web Services" book. I am able
to retrieve the data via LWP::UserAgent but I am baffled by the hash
ref that
1 - 100 of 168 matches
Mail list logo