Derek B. Smith [EMAIL PROTECTED] asked:
If you really need to do this in place due to memory constraints, I
would advise to run the iteration from back to front, i.e.
And why would this be? Becasue it does not load the entire
data set at once or aka one at a time?
grep creates a new list
From: JupiterHost.Net [mailto:[EMAIL PROTECTED]
Derek B. Smith wrote:
OK CPAN yes I know it is an open source project, but are there task
assignments for specific tasks/projects as opposed to submitting a
module?
So you are looking for an open source project done in Perl
that has
Hi,
I have tried that to no avail. I have also tried a simple match of !~
m/(m|f){1}/ and even put in the code you suggested to read !~ m/^(m|f){1}$/ but
this still doesn't work properly. Input of d or T will work to say it is
incorrect and input of m or f will be accepted but I was under
use strict;
use warnings;
my $string;
while (1){
print Please enter 1-5 letters: ;
chomp ($string = STDIN);
last if $string =~ m/^[a-z]{1,5}$/i;
# last if $string =~ m/^\w{1,5}$/;
print that is wrongtry again: ;
}
I think the problem was not the
Hello
After searching the cpan.org site for mathematical modules, I did not
find a module which can display graphically
the result of a function.
I want to see a function curve displayed in a graphical window?
How can I make it possible in Perl?
Thanks in advance for your help.
--
To
After searching the cpan.org site for mathematical modules, I
did not find a module which can display graphically the
result of a function.
I want to see a function curve displayed in a graphical window?
How can I make it possible in Perl?
Thanks in advance for your help.
Module names
Hi All
I'm trying to use the GD module. for plotting a graph on WINDOWS but
my Perl script is crashing.
Here is the piece of code which is crashing [Perl Command Line
Interpreter has encountered a problem and needs to close. We are sorry
for the inconvenience.]
use
I'm trying to use the GD module. for plotting a graph on
WINDOWS but my Perl script is crashing.
Here is the piece of code which is crashing [Perl Command
Line Interpreter has encountered a problem and needs to
close. We are sorry for the inconvenience.]
use GD::Graph::bars;
my
Hi Lee
I tried to search for the GD module through ppm and was unable to find
it, so I downloaded the tar file from cpan and installed it manually.
Also whan I say remove GD from ppm it says pakage GD not installed -
its actually installed.
The following is the search result.
ppm search GD
From: Nagasamudram, Prasanna Kumar
Hi Lee
I tried to search for the GD module through ppm and was
unable to find it, so I downloaded the tar file from cpan and
installed it manually.
Ah, that's the problem: GD is a perl binding (Perl, C and glue) to GD.
Do you have a compiler?
But -
Hi Lee
I found a solution .
I ran ppm install http://theoryx5.uwinnipeg.ca/ppms/GD.ppd; as
mentioned in
http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/Repository
That solves everything.
Im now curious how your search is showing up GD where as my search
does'nt.
The
I found a solution .
I ran ppm install http://theoryx5.uwinnipeg.ca/ppms/GD.ppd;
as mentioned in
http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/Repository
That solves everything.
It's not a bad idea to add Theory5, since Randy who runs it will often
build PPMs if you ask
On 09/20/2006 05:24 AM, SFantar wrote:
Hello
After searching the cpan.org site for mathematical modules, I did not
find a module which can display graphically
the result of a function.
I want to see a function curve displayed in a graphical window?
How can I make it possible in Perl?
Thanks
I need to find every ocuring b.../b blok in a text, even If
this ocurs multiple times on 1 line.
example text:
bInclus:/b eau, \303\251lectricit\303\251 et bchauffage./b
responce should be:
bInclus:/b
bchauffage./b
I tryed some things with perl or shell:
echo 'bInclus:/b eau,
Hello out there,
I need a Tipp how I can create a linked ring-list in Perl. I know well
that arrays in Perl are already realized as linked list, but what I need
is a ring-list. Means that at the last element owns a reference to the
first element.
Has anybody an idea how to make it?
SFantar schreef:
After searching the cpan.org site for mathematical modules,
I did not find a module which can display graphically
the result of a function.
I want to see a function curve displayed in a graphical window?
Beyond that:
http://maxima.sourceforge.net/ (Lisp)
I need to find every ocuring b.../b blok in a text,
even If this ocurs multiple times on 1 line.
If you're doing HTML it's worth looking HTML::TokeParser for a quick and
easy and generally reliable means of extracting the contents of the
'bold' element: great POD, too -- this is a slightly
On 9/20/06, Christian Stalp [EMAIL PROTECTED] wrote:
I need a Tipp how I can create a linked ring-list in Perl. I know well
that arrays in Perl are already realized as linked list, but what I need
is a ring-list. Means that at the last element owns a reference to the
first element.
What are
Christian Stalp [EMAIL PROTECTED] asked:
I need a Tipp how I can create a linked ring-list in Perl. I
know well that arrays in Perl are already realized as linked
list, but what I need is a ring-list. Means that at the last
element owns a reference to the first element.
Has anybody an
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
M K Scott wrote:
Hi,
Hello,
I have tried that to no avail. I have also tried a simple match
of !~ m/(m|f){1}/ and even put in the code you suggested to read
!~ m/^(m|f){1}$/ but this still doesn't work properly. Input of
d or T will work to say it is incorrect and input of m or
f will
Thanks to all who replied - it is working fine now and I am now moving on to
the next problemall your help was appreciated and very usefull. I am sure
I will be back here soon.
Thanks
Mark
From: John W. Krahn [mailto:[EMAIL PROTECTED]
Sent: Wed
Hi,
if i use one array in foreach loop then can i use same array in another
part of the code.
I am getting following error while executing perl script.
Global symbol @repl1 requires explicit package name at ch_repl_name.pl
line 24.
can anybody please help me.
Regards
Irfan.
Global symbol @repl1 requires explicit package name at
ch_repl_name.pl
line 24.
It seems you are using strict, but not declaring @repl1 anywhere. If
you post your code will be easier to help.
--
Igor Lopes [EMAIL PROTECTED]
how would i create a scalar?
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
if you
use strict;
then you'll need to declare it with my. If you don't (and you should
think about that decision again) then you can leave off the my.
my $variable = somevalue;
$ means it's a scalar variable
@ is for arrays
% is for hashes
On 9/20/06, elite elite [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm curious how to pronounce various built-in variables in perl. Like
$_ or [EMAIL PROTECTED] Having never heard it spoken and only seeing it in
print,
I've taken to calling it dunder (Dollar + Underscore). Granted, the
way I pronounce it has no
Hello
I am looking for some simple perl functions that will return the current date
and time in string format. The purpose is to create a file with part of the
name being the date and time.
Thanks,
Andrew
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hello
I am looking for some simple perl functions that will return the current date
and time in string format. The purpose is to create a file with part of the
name being the date and time.
Thanks,
Andrew
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
* Mathew [EMAIL PROTECTED] [2006-09-20T19:29:53]
I'm curious how to pronounce various built-in variables in perl. Like
$_ or [EMAIL PROTECTED] Having never heard it spoken and only seeing it in
print,
I've taken to calling it dunder (Dollar + Underscore). Granted, the
way I pronounce it
On Thursday 21 September 2006 12:18, Ricardo SIGNES wrote:
$; - dollar semicolon'
In my head, I pronounce these ones as 'string-semicolon', but that's a
throwback to when I was young, stupid, and coded in BASIC...
--
Robin [EMAIL PROTECTED] JabberID: [EMAIL PROTECTED]
Hostes alienigeni
Hi,
Many of the functions exist on CPAN.One of them is 'strftime' which is coming
from POSIX.
use POSIX 'strftime';
print strftime %Y-%m-%d,localtime;
__END__
You'll get:
2006-09-21
As the same effect as the unix command of 'date +%Y-%m-%d' 's output.
Hope it helps.
-Original
how would i create a scalar?
Hi,
Scalar is differenet distinctly from list.In perl both array and hash belong to
list,while common variable belong to scalar.When you say,
my $varA;
our $varB;
local $varC;
You get the perl variable and they're scalar.
Hope I'm correct.
--
Jeff Pang
I'm not sure what Derek is looking for, either, but have a look at:
* bestpractical.com/rt/
An open-source request/bug/job tracker, which is also used as part of
the CPAN projcet: rt.cpan.org
* www.cpanforum.com
Open-source Perl project, linked from every page of CPAN, which has a
good
-- JupiterHost.Net [EMAIL PROTECTED] wrote:
I'm not sure what Derek is looking for, either,
but have a look at:
* bestpractical.com/rt/
An open-source request/bug/job tracker, which is
also used as part of
the CPAN projcet: rt.cpan.org
* www.cpanforum.com
Open-source Perl
Hi all,
I want to read some information about AUTOLOAD in POD.
But I get nothing when I type perldoc -f/-q
AUTOLOAD.
Any comments?
Thanks,
Li
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
I want to read some information about AUTOLOAD in POD.
Hi,
Got these pieces from Schwartz's book and hope it helps.
After Perl searches the inheritance tree and UNIVERSAL for a method, it doesn't
just stop there if the search is unsuccessful. Perl repeats the search through
the very same
chen li wrote:
Hi all,
Hello,
I want to read some information about AUTOLOAD in POD.
But I get nothing when I type perldoc -f/-q
AUTOLOAD.
Any comments?
perlsub has an Autoloading section:
perldoc perlsub
Also the AUTOLOAD: Proxy Methods section of:
perldoc perltoot
And:
perldoc
Here is my code
# Perl script to change the replica name
use strict;
use warnings;
# my $fname = /tmp/vob_list1;
# open FILE,,$fname or die $!;
# my $fname1 = /tmp/repl_list1;
# open FILE1,,$fname1 or die $!;
my $CT = '/usr/atria/bin/cleartool';
my $MT = '/usr/atria/bin/multitool';
On Wed, 20 Sep 2006 [EMAIL PROTECTED] wrote:
Hello
I am looking for some simple perl functions that will return the current date
and time in string format. The purpose is to create a file with part of the
name being the date and time.
I use something like this
Mathew schreef:
How would Larry pronounce it?
As it.
--
Affijn, Ruud
Gewoon is een tijger.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
41 matches
Mail list logo