I want to copy few files from a source directory to a destination directory
my array contains all the source file names like this
..\..\..\AlgSource\ISA\C64x\asm\idct_8x8_c64xplus_h.asm
..\..\..\AlgSource\ISA\C64x\asm\jpegdec_ti_vld_n_mcu.asm
..\..\..\AlgSource\ISA\C64x\C\byte_unstuff.c
2005/12/16, MARG [EMAIL PROTECTED]:
Hi,
I want to insert these two lines in Apache's httpd.conf:
LoadModule python_module modules/mod_python.so
AddModule mod_python.c
just right after the line
LoadModule php5_module modules/libphp5.so
and not at the end of the file (with a simple echo
john mailto:[EMAIL PROTECTED] wrote:
: Thanks, Charles, for your suggestions. I think I've incorporated
: most of them.
You're welcome.
: Your regex is a lot more practical than what I was using.
I wouldn't have used it a year ago. Perhaps I'm getting
better. :)
: Here is the
Hello,
I would like to use a complex CPAN module group that is currently under
active revision. (Task::Catalyst)
Is there a way to use the cpan shell to install a local version of the
module for just this application so I don't have to worry about things
breaking if the main CPAN library install
I saw code which has something like :
my $foo : shared = '';
my @bar : shared = ();
...
What is that means?
--
--beast
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
Umesh T G mailto:[EMAIL PROTECTED] wrote:
: It is not copying the files, though there is no error printed on
: screen. :(
It looks like you are not using warnings and strict. That
pretty much stops most errors from going to the screen.
Your problem *may* be in @src. In perl, the file
Do you mean something as below?
my $foo::shared = '';
my @bar::shared = ();
I don't know what you writted too.
-Original Message-
From: Beast [EMAIL PROTECTED]
Sent: Dec 16, 2005 5:00 AM
To: beginners@perl.org
Subject: : shared
I saw code which has something like :
my $foo : shared
MARG wrote:
Hi,
Hello,
I want to insert these two lines in Apache's httpd.conf:
LoadModule python_module modules/mod_python.so
AddModule mod_python.c
just right after the line
LoadModule php5_module modules/libphp5.so
and not at the end of the file (with a simple echo AddModule
Beast wrote:
I saw code which has something like :
my $foo : shared = '';
my @bar : shared = ();
...
What is that means?
perldoc attributes
perldoc perlthrtut
perldoc perlsub
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Jeff Pang wrote:
Do you mean something as below?
my $foo::shared = '';
my @bar::shared = ();
No. Take a lokk at this code:
http://tobyinkster.co.uk/Software/linux/jukebox/jukebox-2.19b.pl
...
# Shared variables for passing info around.
my @queue : shared = ();# queue
my
Hi,
I would have done this.
1) download the module source and dependencies and untar
2) perl Makefile.pl
3) Modify PERLPREFIX,SITEPREFIX,VENDORPREFIX in Makefile to a local folder
4) while starting the application set PERLLIB environment variable to include
the folder.
there might be
It is okay to do something like that. However, you should not use the package
declaration on the top. If you do that, you will have to use the Exporter module
to export your subroutine names to your script when you say use DBConn;
Quoting Robert [EMAIL PROTECTED]:
I have broken out my DB
I remember from my C++ class that when you pass arguments to subroutines you
can pass them either as a pointer to the real variable (so you modify the
original if you change it), or as a copy (which you can change all you want
and not affect the original).
Is there a perl equivalent of both of
Bryan R Harris wrote:
I remember from my C++ class that when you pass arguments to subroutines you
can pass them either as a pointer to the real variable (so you modify the
original if you change it), or as a copy (which you can change all you want
and not affect the original).
Is there a
On Fri, 16 Dec 2005, Bryan R Harris wrote:
I remember from my C++ class that when you pass arguments to
subroutines you can pass them either as a pointer to the real variable
(so you modify the original if you change it), or as a copy (which you
can change all you want and not affect the
Thanks, Chris and Wiggins!
- Bryan
On Fri, 16 Dec 2005, Bryan R Harris wrote:
I remember from my C++ class that when you pass arguments to
subroutines you can pass them either as a pointer to the real variable
(so you modify the original if you change it), or as a copy (which you
can
Hi all,
I unpack some files in my script with external unpacker
(unrar, unzip, unarj, unace...). But some files are passworded, to
continue in script I have to press some key. It is some easy way how
to do this ?
I am think about eval and alarm...
/brano
--
To unsubscribe, e-mail: [EMAIL
Hello guys!!
I have to ask you a very odd
question
I am working on a project that involves VRML
(yes I know)
these project what it does is that if you
give him a board file
(like a CAD file) import a file from a
server and this project
what it does is that it gives you a 3D view
of the
I am working on a sockets based script. My question is what if the length
of the recv is likely to change, but you need the following recv lines not
to get corrupted?
Example
$client-recv($bkserv,128);
$client-recv($bkuser,128);
$client-recv($dumppath,128);
$client-recv($dumpname,128);
Any one
There is a VRML-Perl module. You can go to CPAN (http://www.cpan.org/), and look
for it.
Vishal
Quoting Gomez, Juan [EMAIL PROTECTED]:
Hello guys!!
I have to ask you a very odd question
I am working on a project that involves VRML (yes I know)
these project what it does is that if
On Fri, 16 Dec 2005, Ing. Branislav Gerzo wrote:
I unpack some files in my script with external unpacker (unrar, unzip,
unarj, unace...). But some files are passworded, to continue in script
I have to press some key. It is some easy way how to do this ?
If you have to interact with a
Hi,
On 12/16/05, Mohammed Shameer [EMAIL PROTECTED] wrote:
Hi,
I would have done this.
1) download the module source and dependencies and untar
2) perl Makefile.pl
3) Modify PERLPREFIX,SITEPREFIX,VENDORPREFIX in Makefile to a local
folder
4) while starting the application set PERLLIB
Hello everyone,
I'm trying to define a constant hash and have the following:
use constant STOPWORDS = map { lc $_ , 1 } qw(a about above across adj after);
I do not get a hash from this.
This does work, however:
my %stopwords = map { lc $_ , 1 } qw(a about above across adj after);
use
On Dec 16, 2005, at 20:36, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hmm... is there a way to do this using the CPAN shell while still
having any
dependency outside certain marked namespaces satisfied from the
server's
main Perl installation? ( Rather than having a local install of
every
Kevin Old wrote:
Hello everyone,
I'm trying to define a constant hash and have the following:
use constant STOPWORDS = map { lc $_ , 1 } qw(a about above across adj
after);
I do not get a hash from this.
This does work, however:
my %stopwords = map { lc $_ , 1 } qw(a about above
Hi,
I'm trying to subst the string:
# Include conf/extra/httpd-ssl.conf
for
Include conf/extra/httpd-ssl.conf
with the command:
perl -pi~ -e 's/# Include conf/extra/httpd-ssl.conf/Include
conf/extra/httpd-ssl.conf/' /usr/local/httpd/conf/httpd.conf
but i get an error.
I've used this before
MARG wrote:
Hi,
I'm trying to subst the string:
# Include conf/extra/httpd-ssl.conf
for
Include conf/extra/httpd-ssl.conf
with the command:
perl -pi~ -e 's/# Include conf/extra/httpd-ssl.conf/Include
conf/extra/httpd-ssl.conf/' /usr/local/httpd/conf/httpd.conf
but i get an error.
Kevin Old wrote:
Hello everyone,
Hello,
I'm trying to define a constant hash and have the following:
use constant STOPWORDS = map { lc $_ , 1 } qw(a about above across adj
after);
I do not get a hash from this.
You are defining STOPWORDS as a list.
This does work, however:
my
I simply use:
my $dbh = DBConn::db1();
It does the right connection (i.e. subroutine) from the DBConn package and I
didn't use Exporter. I should also mention that DBConn is in the same folder
and the calling script so maybe that makes a difference.
I am probably going to go back and do a
On 12/16/05, John W. Krahn [EMAIL PROTECTED] wrote:
Kevin Old wrote:
Hello everyone,
Hello,
I'm trying to define a constant hash and have the following:
use constant STOPWORDS = map { lc $_ , 1 } qw(a about above across adj
after);
I do not get a hash from this.
You are
Kevin Old wrote:
On 12/16/05, John W. Krahn [EMAIL PROTECTED] wrote:
Kevin Old wrote:
I'm trying to define a constant hash and have the following:
use constant STOPWORDS = map { lc $_ , 1 } qw(a about above across adj
after);
I do not get a hash from this.
You are defining STOPWORDS as a
31 matches
Mail list logo