Rob Dixon schreef:
> Adriano Ferreira:
>> Jen Spinney:
>>> Dr.Ruud:
my$mean;mean+=$_/@data [EMAIL PROTECTED];
>>>
>>> Don't you need another dollar sign?
>>> my$mean;$mean+=$_/@data [EMAIL PROTECTED];
>>
>> Where is Rob to tell Dr. Ruud if one must test the code for him after
>> he posts? O
Hi, I'd like to download a file using HTTP, however instead of getting the
result as an in-memory string, or saved to a file, I'd like to be able to
access the content like it was a file (this is because the content downloaded
is being written directly to another program as it is downloaded). I
Dear all,
There are several methods to search POD on window
prompt by issuing the lines below:
perldoc perl(get overview of Perl)
perldoc -f map( search a function called map)
perldoc -q regular expression (search a question about
regular expression )
perldoc CGI( information about module CGI)
I will receive an XML file onto a server I am setting up. I need to
examine the file and detect text in a payload section. Based on what
I find I examine a lookup table and send a SMS message via a GSM
modem attached to the server via a USB port. Any clues where I can
find Perl script to help?
On Monday 11 September 2006 15:34, Peter Grey wrote:
> I will receive an XML file onto a server I am setting up. I need to
> examine the file and detect text in a payload section. Based on what
> I find I examine a lookup table and send a SMS message via a GSM
> modem attached to the server via a
On 9/11/06, chen li <[EMAIL PROTECTED]> wrote:
sometimes some PODs are very long I
can't go back once I read to the end. The only way I
can go back is to issue the line code again. Is there
any way around this problem under window prompt?
Generally, the perldoc command sends its output to a p
--- Tom Phoenix <[EMAIL PROTECTED]> wrote:
> On 9/11/06, chen li <[EMAIL PROTECTED]> wrote:
>
> > sometimes some PODs are very long I
> > can't go back once I read to the end. The only
> way I
> > can go back is to issue the line code again. Is
> there
> > any way around this problem under windo
Is it possible to install perl and modules on an external hard drive
that I could take from computer to computer? It seems a simple as
installing it onto that drive, but I do not know whether I can use PPM
to install CPAN modules there or whether I can use it successfully.
Thanks,
Kevin
--
Kevin Viel wrote:
Is it possible to install perl and modules on an external hard drive
that I could take from computer to computer? It seems a simple as
installing it onto that drive, but I do not know whether I can use PPM
to install CPAN modules there or whether I can use it successfully.
Since Perl doesn't use the registry or absolute paths to find its
modules that should work just fine. The only thing to watch out for is
that you will be violating the ActiveState license if you distribute
your own ActivePerl distribution outside of your organization without
getting their okay fir
Robin Sheat wrote:
>
> Hi, I'd like to download a file using HTTP, however instead of getting the
> result as an in-memory string, or saved to a file, I'd like to be able to
> access the content like it was a file (this is because the content downloaded
> is being written directly to another progr
On Tuesday 12 September 2006 08:17, Rob Dixon wrote:
> One you have downloaded the remote file to memory or to local file storage
> you can then open either of them and access them through a filehandle. Will
> that do?
>
> Tell us a little more and we may be able to help better.
Imagine I'm downloa
On Tuesday 12 September 2006 05:48, Tom Phoenix wrote:
> If it's a large amount of data and you want to process it a line at a
> time, say, it should be easy to write your own buffer-handling code.
> Is that what you want to do?
Yes, however I'm accessing the data via HTTP, and so I'd really like t
Robin Sheat wrote:
> On Tuesday 12 September 2006 08:17, Rob Dixon wrote:
>
>>One you have downloaded the remote file to memory or to local file storage
>>you can then open either of them and access them through a filehandle. Will
>>that do?
>>
>>Tell us a little more and we may be able to help be
On Tuesday 12 September 2006 10:27, Rob Dixon wrote:
> I think so Robin, thanks. But I'm still not clear whether you really need
> to retrieve the data through a filehandle; surely any suitable means of IPC
> will do?
Well yes, any IPC thing would do. However, I figured that handles represent
stre
I am trying to creat a CGI page that display the ordernumber of the
yppoll output on all my NIS servers, using the following
my $svr_order = `yppoll $nissvr $map | grep order| awk '{print $NF}'`;
but it just seems to be empty.
any idea how can I fix this?
regards,
another perl newbie
ubergoonz
On 9/11/06, Robin Sheat <[EMAIL PROTECTED]> wrote:
I'd like to download a file using HTTP, however instead of getting the
result as an in-memory string, or saved to a file, I'd like to be able to
access the content like it was a file (this is because the content downloaded
is being written direc
ubergoonz wrote:
> I am trying to creat a CGI page that display the ordernumber of the
> yppoll output on all my NIS servers, using the following
> my $svr_order = `yppoll $nissvr $map | grep order| awk '{print $NF}'`;
>
> but it just seems to be empty.
>
> any idea how can I fix this?
It is pro
Hello. It's obvious that I need to factor the follow code, but I'm
not sure how to go about it syntax wise (I read perldoc perlsyn, but
I'm still not sure of the best way).
if ($color eq $B_COLOR)
{
$id = $c->createLine
($x[0], $time1,
$x[1], $time1,
I need to compress a bunch of files, so instead of
making a system call to gzip I figured to try out
Archive::Zip.
After running this code it creates a new file but is
larger in size.
How do I use archive zip to simply zip files so that
they are generally smaller in size?
thank you
derek
#!/usr/
On Mon, Sep 11, 2006 at 08:02:36PM -0400, Jen Spinney wrote:
>
> The only difference between the blocks is two additional lines
> ($x[2]...) in the else block. I mean, I know I could write a
> subroutine that I could call inside the parentheses that would return
> a string (either empty or contai
Jen Spinney wrote:
> Hello. It's obvious that I need to factor the follow code, but I'm
> not sure how to go about it syntax wise (I read perldoc perlsyn, but
> I'm still not sure of the best way).
>
>if ($color eq $B_COLOR)
>{
> $id = $c->createLine
> ($x[0], $time1,
>
On 9/11/06, Chad Perrin <[EMAIL PROTECTED]> wrote:
On Mon, Sep 11, 2006 at 08:02:36PM -0400, Jen Spinney wrote:
>
> The only difference between the blocks is two additional lines
> ($x[2]...) in the else block. I mean, I know I could write a
> subroutine that I could call inside the parentheses
On 9/11/06, John W. Krahn <[EMAIL PROTECTED]> wrote:
Jen Spinney wrote:
> Hello. It's obvious that I need to factor the follow code, but I'm
> not sure how to go about it syntax wise (I read perldoc perlsyn, but
> I'm still not sure of the best way).
>
>if ($color eq $B_COLOR)
>{
> $
> > It looks like you may want something like this:
> >
> >
> > $id = $c->createLine(
> > $x[0], $time1,
> > $x[1], $time1,
> > $color eq $B_COLOR ? () : (
> > $x[2], $time2,
> > $x[3], $time2,
> > ),
> > -arrow => 'last'
On Mon, Sep 11, 2006 at 05:37:15PM -0700, chen li wrote:
>
> What is the usage for "? () :" and where can I find
> more about it?
perldoc perlop
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
This sig for rent: a Signify v1.14 production from http://www.debian.org/
--
To unsubscrib
I intended to send this to the list and accidentally replied directly to
the person to whom I was replying. I figure it's worth reposting to the
list.
- Forwarded message from Chad Perrin <[EMAIL PROTECTED]> -
From: Chad Perrin <[EMAIL PROTECTED]>
To: Jen Spinney <[EMAIL PROTECTED]>
Subj
I love perl, and perl is the first tool when I want to do something. So I'd like
embedded perl in my own editor as a line-based script language so I can
manipulate edited text of current editor buffer easily though perl's power and
simple features. I need perl core(regex, data structure, etc.) and
On 9/11/06, Derek B. Smith <[EMAIL PROTECTED]> wrote:
I need to compress a bunch of files, so instead of
making a system call to gzip I figured to try out
Archive::Zip.
After running this code it creates a new file but is
larger in size.
That module automatically uses Compress::Zlib to compres
On 9/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I'd like
embedded perl in my own editor as a line-based script language so I can
manipulate edited text of current editor buffer easily though perl's power and
simple features.
The text editor Vim can be compiled with Perl support. Is th
> ...The only thing to
> watch out for is that you will be violating the ActiveState
> license if you distribute your own ActivePerl distribution
> outside of your organization without getting their okay first.
However, other people have built Perl for Windows using the AS source,
and made it f
31 matches
Mail list logo