Dear Mr. Phoenix,
Thanks for the reply.
What I want is to when I give the x and y coordinates two polylines should
be drawn and next the distance between these two polylines at given points
should be calculated. I want to do this in perl. I understand that this can
be done using GD::polyline modu
In the documentation it says that you can read files chunks at a time
but I haven't tried it.
> Ken Foskey
> FOSS developer
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On 6/15/07, Ken Foskey <[EMAIL PROTECTED]> wrote:
On Fri, 2007-06-15 at 14:08 -0700, [EMAIL PROTECTED]
wrote:
> Sweet Chas!
>
> My two cents is to check out XML::Twig at http://www.xmltwig.org/ .
>
> It's easy to get a grip on and well suited to reading attributes as
> well as elements in element
On 6/15/07, sivasakthi <[EMAIL PROTECTED]> wrote:
Yes..i need to compare the contents of two binary files..
Have you checked on CPAN? I found this:
http://search.cpan.org/~cwest/ppt-0.14/bin/cmp
Hope this helps!
--Tom Phoenix
Stonehenge Perl Training
--
To unsubscribe, e-mail: [EMAIL
> text mode: Line endings are translated to/from Perl's end-of-line
> character "\n" to the host operating system's end-of-line character
> (CRLF for DOS based machines, LF for UNIX based machines, etc.)
>
> binary mode (aka raw): No translations are made. Characters/bytes are
> written directly
On 6/15/07, Geetha <[EMAIL PROTECTED]> wrote:
I want to draw polylines and do some distance calculations. I searched any
tutorial relating to drawing polylines but couldn't find. Can you please
give me some references to learn about polylines in perl?
My sources tell me that a polyline is a
On Fri, 2007-06-15 at 14:08 -0700, [EMAIL PROTECTED]
wrote:
> Sweet Chas!
>
> My two cents is to check out XML::Twig at http://www.xmltwig.org/ .
>
> It's easy to get a grip on and well suited to reading attributes as
> well as elements in elements.
Looks interesting, would this reasonably hand
> -Original Message-
> From: Chas Owens [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 15, 2007 16:50
> To: Wagner, David --- Senior Programmer Analyst --- WGO
> Cc: beginners@perl.org
> Subject: Re: FTP to IBM ZOS/390
>
> On 6/15/07, Wagner, David --- Senior Programmer Analyst --- WGO
>
On 6/15/07, Wagner, David --- Senior Programmer Analyst --- WGO
<[EMAIL PROTECTED]> wrote:
Has anyone done any FTP'ing to IBM ZOS/390 machine. As you can
see in the output there was a timeout due to waiting for a file to
recalled from tape to disk.
snip
My only suggestion is to increas
On 6/15/07, Bob McConnell <[EMAIL PROTECTED]> wrote:
> -Original Message-
> From: Chas Owens [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 15, 2007 11:33 AM
> To: Bob McConnell
> Cc: beginners@perl.org
> Subject: Re: Having trouble porting an application to MS-Windows
>
> On 6/15/07, Bob
Has anyone done any FTP'ing to IBM ZOS/390 machine. As you can
see in the output there was a timeout due to waiting for a file to
recalled from tape to disk.
Output:
Net::FTP=GLOB(0x15f35c)>>> STOR FREQ0407
Net::FTP=GLOB(0x15f35c)<<< 125-Waiting for recall of data set
FTPTRGP.FREQ0407
Net
Sweet Chas!
My two cents is to check out XML::Twig at http://www.xmltwig.org/ .
It's easy to get a grip on and well suited to reading attributes as
well as elements in elements.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.or
> -Original Message-
> From: Chas Owens [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 15, 2007 11:33 AM
> To: Bob McConnell
> Cc: beginners@perl.org
> Subject: Re: Having trouble porting an application to MS-Windows
>
> On 6/15/07, Bob McConnell <[EMAIL PROTECTED]> wrote:
> snip
> > Or h
On Jun 15, 11:17 am, [EMAIL PROTECTED] wrote:
> Howdy,
>
> Please be gentle, I'm a perl novice to say the least.
>
> I have the following script (called bk.pl right now) :
> foreach $argnum (0 .. $#ARGV) {
> my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime
> time;
>
I think he wants to compare two Perl scripts that have been rendered
to binary in the form that the ByteLoader would use.
On 6/15/07, Chas Owens <[EMAIL PROTECTED]> wrote:
On 6/15/07, sivasakthi <[EMAIL PROTECTED]> wrote:
> I have mentioned the binary Perl files by encrypted Perl files.. is it
>
On 6/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Howdy,
Please be gentle, I'm a perl novice to say the least.
snip
When I run it (./scripts/bk.pl dbname) it runs the first exec
properly, but it dose not do the second. I get the error
(Maybe you meant system() when you said exec()?)
A
Hi,
you ment system() wen you said exec()!
perldoc -f system
perldoc -f exec
for short:
exec() replaces the perl process.
system() invokes your myslqdump process and waits till it is finished.
HTH Martin
On Fri, 15 Jun 2007 15:17:03 -
[EMAIL PROTECTED] wrote:
> Howdy,
>
> Please be gent
On 6/15/07, Bob McConnell <[EMAIL PROTECTED]> wrote:
snip
Or have I found a bug in the ActiveState implementation?
snip
Are you currently paying for ActiveState support? If so, I would
suggest filing a ticket with them. In the mean time, try modifying my
code to do a sysread from a socket.
-
Howdy,
Please be gentle, I'm a perl novice to say the least.
I have the following script (called bk.pl right now) :
foreach $argnum (0 .. $#ARGV) {
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime
time;
exec ("mysqldump --user=*** --password=*** $ARGV[$argnum]
> -Original Message-
> From: Chas Owens [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 15, 2007 10:55 AM
> To: Bob McConnell
> Cc: beginners@perl.org
> Subject: Re: Having trouble porting an application to MS-Windows
>
> On 6/15/07, Bob McConnell <[EMAIL PROTECTED]> wrote:
> snip
> >
On 6/14/07, Ravi Malghan <[EMAIL PROTECTED]> wrote:
snip
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
snip
Offhand I would say you have dynamic linking. Is the module failing
to install? If so, with
On 6/15/07, Bob McConnell <[EMAIL PROTECTED]> wrote:
snip
eval {
local $SIG{ALRM} = sub { die "alarm\n" }; # NB:
\n required
alarm $timeout;
$nread = sysread PORT, $line, 1;
alarm 0;
On Jun 14, 10:22 pm, [EMAIL PROTECTED] (Mathew Snyder) wrote:
> I fixed all of the bugs save one. I can't access any of my subroutines
> without
> explicitly using it with dates_emails::subroutine. I was under the impression
> that if I was exporting them all from the module, the subroutine woul
> -Original Message-
> From: Chas Owens [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 14, 2007 12:10 PM
> To: Bob McConnell
> Cc: beginners@perl.org
> Subject: Re: Having trouble porting an application to MS-Windows
>
> On 6/14/07, Chas Owens <[EMAIL PROTECTED]> wrote:
> > On 6/14/07,
On 6/15/07, sivasakthi <[EMAIL PROTECTED]> wrote:
I have mentioned the binary Perl files by encrypted Perl files.. is it
not right one?
text mode: Line endings are translated to/from Perl's end-of-line
character "\n" to the host operating system's end-of-line character
(CRLF for DOS based machi
I have mentioned the binary Perl files by encrypted Perl files.. is it
not right one?
On Fri, 2007-06-15 at 13:56 +0200, Jenda Krynicky wrote:
> From: sivasakthi <[EMAIL PROTECTED]>
> > Hi Guys,
> >
> > is it possible to comparing the encrypted Perl files??
> >
> > Thanks,
> > Siva
>
> I'm af
From: sivasakthi <[EMAIL PROTECTED]>
> Hi Guys,
>
> is it possible to comparing the encrypted Perl files??
>
> Thanks,
> Siva
I'm afraid you'll have to explain what do you mean by "encrypted Perl
files".
Jenda
= [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =
When it comes to wine, w
sivasakthi 写道:
> Hi Guys,
>
> is it possible to comparing the encrypted Perl files??
>
>
The way I can think is to compare their md5sum value.
If the md5sum values are the same,then the two files should be the same.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai
Hi Guys,
is it possible to comparing the encrypted Perl files??
Thanks,
Siva
Thanks Jeff,
It helped
-Original Message-
From: Jeff Pang [mailto:[EMAIL PROTECTED]
Sent: Friday, June 15, 2007 10:46 AM
To: Subject: Re: is require a keyword ?
Garg, Mayank IN BOM SISL 写道:
>
>
> Hi Guys,
>
> I was going thru a script which had the the lines:
>
>
>
>
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> On Jun 14, 7:59 am, [EMAIL PROTECTED] (Jenda Krynicky) wrote:
> > Most likely the second line should look like this:
> >
> > @TablePreReq = keys(%{$ConfigFile{InputDataFile}});
>
> This gets it to compile. I was a bit puzzled because this code is
oh! you're right!
i'm sorry.
On Fri, 15 Jun 2007 16:51:48 +0800
Jeff Pang <[EMAIL PROTECTED]> wrote:
> Martin Barth 写道:
> > Well the code looks ok.
> >
> > I just wrote some simple test code to do the same thing like you, but
> > it worked as exepcted. Are there some differeces between that exa
Martin Barth 写道:
Well the code looks ok.
I just wrote some simple test code to do the same thing like you, but
it worked as exepcted. Are there some differeces between that example
and your code?
HTH
% ls
Module.pm test.pl
% cat Module.pm
#!/usr/bin/perl -w
use strict;
require Exporter;
our
Garg, Mayank IN BOM SISL 写道:
Hi Guys,
I was going thru a script which had the the lines:
require Exporter;
require DynaLoader;
what does these lines mean
You may take a look at:
perldoc -f require
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
Well the code looks ok.
I just wrote some simple test code to do the same thing like you, but
it worked as exepcted. Are there some differeces between that example
and your code?
HTH
% ls
Module.pm test.pl
% cat Module.pm
#!/usr/bin/perl -w
use strict;
require Exporter;
our @ISA = qw/Exporter/
Hi Guys,
I was going thru a script which had the the lines:
require Exporter;
require DynaLoader;
what does these lines mean
Regards,
Mayank
Dear all,
I want to draw polylines and do some distance calculations. I searched any
tutorial relating to drawing polylines but couldn't find. Can you please
give me some references to learn about polylines in perl?
Thanks in advance.
Geetha
37 matches
Mail list logo