rl, or Mail-box module
routines?
Thanks, Shankar
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
On Dec 30, 9:39 am, shlo...@iglu.org.il (Shlomi Fish) wrote:
> On Wednesday 30 Dec 2009 08:12:24 Shankar wrote:
>
> > Hello,
>
> Hi Shankar.
>
> > (Firstly, Thanks to Matt Trout for pointing me to this forum. I re-
> > post my question below).
>
> > I
27; inside the directory.
>
> > $ ls -al
> > total 28
> > drwxr-s--x 3 shankar shankar 2048 2005-02-14 11:24 .
> > drwxr-s--x 8 shankar shankar 2048 2009-12-29 13:11 ..
> > -rw-r----- 1 shankar shankar 8355 2001-08-09 03:46 Common.pm
> > drwxr-s--x 2 shankar shanka
Hello,
(Firstly, Thanks to Matt Trout for pointing me to this forum. I re-
post my question below).
I'm using perl on AIX, and my version is v5.8.2.
(Also, I'm a regular user, with no write permissions to run "make
install", so installing everything on my local home directory).
My primary intere
Hi,
I would like to replace a part of a really big (4GB) text file. And
the contents that I want to change is really a small but continuous
portion. Could some one please help me with the best way I can do this
in perl?
Thanks,
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
Hi,
At reaching a certain point in my perl program, I need to run a process
( say XYZ ) using SYSTEM command. The result file that this process
would produce will be result.. I will have to wait until
this result file is produced & then proceed extracting certain things
from this file.
I am imp
directory
error at this line
close TXTFILE;
my @seqelements = ;
...goes on from here
I know the conversion routine works, because it worked
when I specified a single file
--
Ganesh Shankar
[EMAIL PROTECTED]
--
http://www.fastmail.fm - Or how I learned to stop worrying and
= '';
open (TXTFILE,"<$seqfilename") or die $!;
close TXTFILE;
my @seqelements = ;
...goes on from here
I know the conversion routine works, because it worked
when I specified a single file.
Thanks for your help in advance,
Ganesh
--
Ganesh Shank
Hi all :
I am running a process "n" number of times with a for loop. I am
interested in looking for the status at specific intervals(say at every
10 iterations). I wrote the below shown code for this purpose but
without success :
---
open(STATUS,">> status.txt");
for ($i=0; $i<
Hi all :
I need to run a process for thousands of (known number) of
combinations of the settings needed for the process to run. I have the
settings in different arrays & I am running the process as shown below
: I would like to see the status after every 50 runs in a separate
file. But the fol
Dear all :
I see these lines in a perl program :
$pif = fork;
if($pid == 0) {
exec("hpxy -s xxx.abc");
}else{
$pid1=wait;
}
I could understand that the fork is needed here to get into the child
process "hpxy" !!
What is the need for the "wait" here ?? When will the "else" loop be
entered
Hi List
I was wandering if someone can help me out in displaying database data in a
TK window.
I have tried a number of ways but I am loosing memory eventually.. I vet all
"my"'s are not really mine..
All I need to do is fetch from a database and display it In a GUI based
window.
Or some ones has
Hi all :
I have few arrays with names starting with "xyz_". After the initial
definitions I want to change values of a particular index of all arrays
whose names start with "xyz_". It would be cumbersome for me to do
something like :
$xyz_blahblah[$index] = "ldfhdlf";
$xyz_blooblooh[$index] = "
Hi all :
How could I return more than 1 array or hash from a sub routine &
collect them in different arrays or hashes in the calling program ??
Thanks,
Ravi
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ce I was thinking of doing all
"chdir"s
inside the perl script with "system-cd"s )
Please let me know if you have any workarounds for this !!
Thanks again,
Ravi
T.S. Ravi Shankar wrote:
>Hi all :
>
>Could anyone tell me how I could move between the directories
Hi all :
Could anyone tell me how I could move between the directories ( or
change the present working directory ) with any perl command ??
I have tried these system '/bin/cd $HOME'; , chdir '$HOME'; ,
exec 'cd $HOME';
After I execute the perl code, the PWD still remains unchanged.
If the a
Hi David ...
That answers all my questions !!!
Thank you very much,
Ravi
"Geer, David van der" wrote:
> Hi Ravi,
>
> The first line "#!" tells the program how te read the executable.
> F.e. if you would change it into "#!/bin/ksh" it means your (perl) script will be
> executed using ksh.
nd.pl line 1.
Why ??
Thanks again,
Ravi
"Beau E. Cox" wrote:
> - Original Message -
> From: "T.S. Ravi Shankar" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 03, 2003 11:04 PM
> Subj
Hi Wang :
Try this :
sub BEGIN {
push @INC, "mysandbox/blah"; # you can include any path here
}
use myPackage.pm
/ Ravi
Wenjie Wang wrote:
> Greetins,
>
> I'm try to use another perl module of mine in a different perl file in
> different directory. I would like to know how to use
means ??
Please advise.
Thanks in advance
Ravi Shankar
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi :
There are number of good books available from O'reilly ... You can get
more information here :
http://safari.oreilly.com
You may also want to visit these links :
http://archive.develooper.com/[EMAIL PROTECTED]/
http://www.ebb.org/PickingUpPerl/pickingUpPerl_toc.html
http://www.regenechse
Hi all :
I see these lines at the very beginning lines of a perl program. Could
anyone explain what this is doing ??
eval '(exit $?0)' && eval 'exec perl $PERL_OPTIONS $0 ${1+"$@"}'
& eval 'exec perl $PERL_OPTIONS $0 $argv:q'
if 0;
In what way "eval" help here in traping the errors ??
22 matches
Mail list logo