Re: Regular Expresion - Urgent

2010-10-20 Thread Shlomi Fish
On Wednesday 20 October 2010 19:27:26 Jyoti wrote: > Hi, > > Can anyone please help me to parse WSDL file using Regular expression. > > The file starts like this: > > > and ends > > with > > How to write regualar expression for the above please. > Don't parse XML (or WSDL which is an XML g

Regular Expresion - Urgent

2010-10-20 Thread Jyoti
Hi, Can anyone please help me to parse WSDL file using Regular expression. The file starts like this: and ends with How to write regualar expression for the above please. Thanks, Jyo

Re: Calling all methods (URGENT)

2010-10-12 Thread Brian Fraser
If I understood you correctly, you want to see all the methods from a series of .pm files, right? I see two ways to do this: First, you could simply read the files manually, finding any lines that have 'sub' followed by a valid name (to avoid anonymous subroutines); since methods are subs with an a

Re: Calling all methods (URGENT)

2010-10-11 Thread Shlomi Fish
Hi Jyoti, On Monday 11 October 2010 16:44:38 Jyoti wrote: > Hello All, > > I need an urgent help. > I have got .pm files in a directory. All .pm files have subroutines with > different methods. At present, I am getting an output of list of all .pm > files. > But I want i

Calling all methods (URGENT)

2010-10-11 Thread Jyoti
Hello All, I need an urgent help. I have got .pm files in a directory. All .pm files have subroutines with different methods. At present, I am getting an output of list of all .pm files. But I want it to take all methods from all .pm files and give and output with all the subroutine (methods

Re: Urgent Request

2010-10-05 Thread Jeff Peng
> The method mentioned is to get the output while u are running the perl > files > at the shell prompt not in the code.. > if u want to save the log details after the perl files are processed then > use this function > > sub file_write { > $_file = shift; > $_data = shift; > open FILE,"

Re: Urgent Request

2010-10-05 Thread Jyoti
Does anyone of you know how to generate WSDL files using Perl script ? I want to generate WSDL files which I done with Pod::WSDl module. But it generates for only one method at a time. I want to execute two or more methods but it should all be displayed in one WSDL file. Please help! Many Thanks,

Re: Urgent Request

2010-10-05 Thread Jeff Peng
> You could use filehandle to save the output outcome. > > use strict; > open OUT, ">outfile.txt"; ## at the beggining > > and for instance: > print OUT $seq->id(),"\n"; > or use Perl's "select". but that requires the OP to modify the source code, which is maybe not what he/she want. Regards. -

Re: Urgent Request

2010-10-05 Thread Chaitanya Yanamadala
The method mentioned is to get the output while u are running the perl files at the shell prompt not in the code.. if u want to save the log details after the perl files are processed then use this function sub file_write { $_file = shift; $_data = shift; open FILE,">$_file"; print

Re: Urgent Request

2010-10-05 Thread Jyoti
Ok got it now :) Thank You all :) Cheers, Jyoti 2010/10/5 Jeff Peng > > Sorry doesnt work. > > > > Error is : > > > > Can't locate object method "perl" in 'filename'... > > > > what's the content of the script? > > > >

Re: Urgent Request

2010-10-05 Thread Jordi Durban
You could use filehandle to save the output outcome. use strict; open OUT, ">outfile.txt"; ## at the beggining and for instance: print OUT $seq->id(),"\n"; Thus, outfile.txt contains $seq->id(), close OUT; at the end. 2010/10/5 Jeff Peng > > Hello, > > > > Can anyone please tell me how

Re: Urgent Request

2010-10-05 Thread Jeff Peng
> Sorry doesnt work. > > Error is : > > Can't locate object method "perl" in 'filename'... > what's the content of the script? -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Urgent Request

2010-10-05 Thread Jyoti
Sorry doesnt work. Error is : Can't locate object method "perl" in 'filename'... Also 2010/10/5 Jeff Peng > > Hello, > > > > Can anyone please tell me how to save output (what we get after running a > > perl script) as an external file? > > > > run it under a unix shell? > try: > > perl a.pl

Re: Urgent Request

2010-10-05 Thread Jeff Peng
> Hello, > > Can anyone please tell me how to save output (what we get after running a > perl script) as an external file? > run it under a unix shell? try: perl a.pl > a.txt 2>&1 save all the output of a.pl to a.txt. 2>&1 means to capture the script's error output also. -- To unsubscribe, e

Re: Urgent Request

2010-10-05 Thread Chaitanya Yanamadala
perl script.pl > outfile.log Chaitanya On Tue, Oct 5, 2010 at 7:14 PM, Jyoti wrote: > Hello, > > Can anyone please tell me how to save output (what we get after running a > perl script) as an external file? > > Many Thanks, > Jyoti >

Urgent Request

2010-10-05 Thread Jyoti
Hello, Can anyone please tell me how to save output (what we get after running a perl script) as an external file? Many Thanks, Jyoti

AW: Converting 12 hour time format to 24 hour format ... a bit urgent

2010-04-07 Thread Thomas Bätzler
newbie01 perl asked: > Unfortunately, I suddenly have to to deal with an input file where the > datetime format is 02-Apr-2010 3:41:23 p.m., i.e. DD-MON- HH:MI:SS > a.m./p.m., so now my Delta_YMDHMS does not work as expected. You can convert from a.m./p.m. to standard 24 hours using a simple

Converting 12 hour time format to 24 hour format ... a bit urgent

2010-04-07 Thread newbie01 perl
Hi all, I have a Perl script that uses Date::Calc to calculate difference between two datetime variables using Decode_Month and Delta_YMDHMS. ( $yy, $mm, $dd, $hh, $mi, $ss ) = Delta_YMDHMS( $logical_yy, $logical_mm, $logical_dd, $logical_hh, $

Re: Server HELP-urgent

2009-10-07 Thread Dave Tang
On Wed, 07 Oct 2009 17:38:59 +1000, Raymond Wan wrote: Did you consider Dave's suggestion about using netblast (which I honestly have never used)? Ah I shouldn't have gotten it wrong in the first place, but its wwwblast. Basically just download the wwwblast-arch-os.tar.gz (so if you're on

Re: Server HELP-urgent

2009-10-07 Thread Raymond Wan
Hi Jyoti, Jyoti wrote: Yepp, i think I need to be more specific. I am trying to design a web server which can upload a user input file which contains number of protien sequences. Then I need to blast this file to get blast results directly as an output file. But as m new to perl, I seriously d

Re: Server HELP-urgent

2009-10-06 Thread Jyoti
Thanks Ray, Yepp, i think I need to be more specific. I am trying to design a web server which can upload a user input file which contains number of protien sequences. Then I need to blast this file to get blast results directly as an output file. But as m new to perl, I seriously dont have an ide

Re: Server HELP-urgent

2009-10-06 Thread Raymond Wan
Hi Jyoti, Jyoti wrote: How to upload any file and get results for that uploaded file through a redirected URL, in perl/cgi I mean to ask, for example, I upload a file which contains protein sequences. Now I want blast results for that uploaded file in my server. Can anyone help me with few lin

Server HELP-urgent

2009-10-06 Thread Jyoti
Hello All, How to upload any file and get results for that uploaded file through a redirected URL, in perl/cgi I mean to ask, for example, I upload a file which contains protein sequences. Now I want blast results for that uploaded file in my server. Can anyone help me with few lines of Code, so t

Re: Parl-Packer installation urgent help required

2008-08-21 Thread Rob Dixon
sanket vaidya wrote: > > When I run makefile .pl while installing Parl::Packer 0.982. I > get this message. > > Fetching 'PAR-Packer-0.982-MSWin32-x86-multi-thread-5.10.0.par' from > www.cpan.org... Fetching failed: No compiler found, won't generate > 'script/parl.exe'! ... > > So I

Parl-Packer installation urgent help required

2008-08-20 Thread sanket vaidya
Hi all, When I run makefile .pl while installing Parl::Packer 0.982. I get this message. Fetching 'PAR-Packer-0.982-MSWin32-x86-multi-thread-5.10.0.par' from www.cpan.org... Fetching failed: No compiler found, won't generate 'script/parl.exe'! ... So I downloaded 'PAR-Packer-0.982

RE: Urgent Help!

2006-08-22 Thread Charles K. Clarkson
Neetee Pawa wrote: : I wanna use the name of hash ref as the value of string. That sounds like a really bad idea. A more common approach would probably use the name of the key and set each @row item to that. What do you want the data structure to look like when the loop is done? Don't explain

Urgent Help!

2006-08-22 Thread Neetee Pawa
Hi All, I am trying to declare variables(hash ref) dynamically in a loop I wanna use the name of hash ref as the value of string. For eg: my $i=0; foreach my $k ( sort keys %$headers) { $$i={};>>> creating hash ref with the value of $i

RE: Urgent :search and replace

2006-06-22 Thread Nagasamudram, Prasanna Kumar
Hi Preethi Can you try... perl -pi.bak -e 's/(ab=test1.*?dc=test3)/ab=chk1,bc=chk2/sg' filename [untested] Thanks Prasanna -Original Message- From: Preethi [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 3:21 PM To: Dr.Ruud Cc: beginners@perl.org Subject:

Re: Urgent :search and replace

2006-06-22 Thread Dr.Ruud
Preethi schreef: > The below solution ... should be above, but most probably snipped. Don't top-post, quote only relevant text, reply on each part that you quote. > did not work for me. My file runs almost to 1GB. What was the error message? Also show us the output of this: perl -wne ' $

Re: Urgent :search and replace

2006-06-22 Thread Preethi
t3/ab=chk1,bc=chk2/gi' filename. But it did not work. I also tried using -m. It failed. Please let me know if there any other solution for this. Thanks, Preethi On 6/22/06, Dr.Ruud <[EMAIL PROTECTED]> wrote: Preethi schreef: Never put "Urgent" in the Subject. Never add

Re: Urgent :search and replace

2006-06-22 Thread Dr.Ruud
Preethi schreef: Never put "Urgent" in the Subject. Never address "us" as Experts. Just explain your problem. Subject: search and replace on broken lines > I have wired problem , I have search and replace string in very huge > text file . The problem with t

RE: Urgent :search and replace

2006-06-22 Thread Vijayakumaran, Vinod
12:37 PM To: beginners@perl.org Subject: Urgent :search and replace Hi Experts, I have wired problem , I have search and replace string in very huge text file . The problem with the string is broken in the differenet line. I'm having a string 'ab=test1, db=test2,dc=test3' and I

Urgent :search and replace

2006-06-22 Thread Preethi
Hi Experts, I have wired problem , I have search and replace string in very huge text file . The problem with the string is broken in the differenet line. I'm having a string 'ab=test1, db=test2,dc=test3' and I want to replace this with 'ab=chk1,bc=chk2'. This string in the file is present in v

Urgent: Searching for a Config file parser

2005-12-01 Thread Madhur Kashyap
Hi, I know there are tonnes of config file parser listed at CPAN but I am looking for something different. Also, after searching for a long time, I could not find one which suits my needs. I am looking for a config file parser to which I can specify 1.) variables whose values are required to be p

Re: Urgent help in h2xs

2005-10-03 Thread Sisyphus
- Original Message - From: "sam joseph" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; ; <[EMAIL PROTECTED]> Sent: Monday, October 03, 2005 12:58 AM Subject: Re: Urgent help in h2xs > Hi All > > I appreciate your help > > I have MSVC++ version 6

FW: Re: Urgent help in h2xs

2005-10-03 Thread sam joseph
ot;Sisyphus" <[EMAIL PROTECTED]> To: "sam joseph" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>, Subject: Re: Urgent help in h2xs Date: Mon, 3 Oct 2005 18:11:33 +1000 - Original Message - From: "sam joseph" <[EMAIL PROTECTED]> To

FW: Re: Urgent help in h2xs

2005-10-02 Thread sam joseph
ROTECTED]> To: [EMAIL PROTECTED], beginners@perl.org, [EMAIL PROTECTED] Subject: Re: Urgent help in h2xs Date: Sun, 02 Oct 2005 20:28:07 +0530 Hi All I appreciate your help I have MSVC++ version 6.0 Can you be more precise in telling how to use VC++ for h2xs as i dont have much prior work

Re: Urgent help in h2xs

2005-10-02 Thread sam joseph
dll project which has a default exported method. After compiling that project what should be the next steps for interfacing the the exported function from the project using perl h2xs. Please be as clear as possible so that i am able to execute the steps. Its really urgent as i have already

Re: Urgent help in h2xs

2005-10-01 Thread Xiaofang Zhou
Hi, Sam, Check what version of VC u're running: active perl 5.001-> vc++5.0 active perl 5.6->vc++6.0 active perl 5.8->vc.net? Thanks, Xiaofang. 在 2005-10-01 18:22:00 您写道: >hi > >I am new to perl and have got a project of interfacing c/c++ code with perl >and have downloaded active perl. > >But

Urgent help in h2xs

2005-10-01 Thread sam joseph
hi I am new to perl and have got a project of interfacing c/c++ code with perl and have downloaded active perl. But i am stuck at the very basic step of execution. To interface i have to perform foll step: run h2xs run perl makefile.pl nmake after this i get an error message saying types.

Re: Urgent Help with functions

2005-05-10 Thread Madhur Kashyap
-- > > #!/usr/local/bin/perl > > sub test { > > =09my @[EMAIL PROTECTED]; > > =09my $div=3D$pars[0]/$par[1]; > > =09print "Pars were @{_}\n"; > > } > > > > test (1,2,3,4,5); > > You've shot y

RE: Urgent Help with functions

2005-05-10 Thread Christian, Ed
-Original Message- From: Madhur Kashyap [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 10, 2005 12:34 PM To: beginners@perl.org Subject: Urgent Help with functions Can someone help me out with this simple code? It gives an error saying: Illegal division by zero at test.pl line 4. Exit

Re: Urgent Help with functions

2005-05-10 Thread Paul Johnson
ocal/bin/perl > sub test { > =09my @[EMAIL PROTECTED]; > =09my $div=3D$pars[0]/$par[1]; > =09print "Pars were @{_}\n"; > } > > test (1,2,3,4,5); You've shot yourself in the foot by using neither the strict pragma nor the warnings pragma in your code. If you need

Re: Urgent Help with functions

2005-05-10 Thread Jay Savage
On 5/10/05, Larsen, Errin M HMMA/IT <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Madhur Kashyap [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, May 10, 2005 11:34 AM > > To: beginners@perl.org > > Subject: Urgent Help with functions > >

RE: Urgent Help with functions

2005-05-10 Thread Larsen, Errin M HMMA/IT
> -Original Message- > From: Madhur Kashyap [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 10, 2005 11:34 AM > To: beginners@perl.org > Subject: Urgent Help with functions > > > Can someone help me out with this simple code? It gives an > error saying: >

Urgent Help with functions

2005-05-10 Thread Madhur Kashyap
Can someone help me out with this simple code? It gives an error saying: Illegal division by zero at test.pl line 4. Exit 255 Code: - #!/usr/local/bin/perl sub test { =09my @[EMAIL PROTECTED]; =09my $div=3D$pars[0]/$par[1]; =09print "Pars were @{_}\n";

Re: Help needed: urgent

2004-10-01 Thread Wiggins d Anconia
Always group reply so that others can help and be helped and to avoid getting (accidentally) ignored. > --- > "But I need the output as an array like @db_results > which would be sent > to a HTML template.

Re: Help needed: urgent

2004-09-30 Thread Wiggins d Anconia
> == > Using DBI Perl Programming I get a database o/p as > below > Student SubjectCodeMarks > > A 190 > A

Help needed: urgent

2004-09-30 Thread Rohit RS
== Using DBI Perl Programming I get a database o/p as below Student SubjectCodeMarks A 190 A 2

Urgent

2004-05-28 Thread LKTee
Other command can instance? Because after try still no work. -Original Message- From: John W. Krahn [mailto:[EMAIL PROTECTED] Sent: Thursday, May 27, 2004 9:37 AM To: [EMAIL PROTECTED] Subject: Re: How to find same filename in subdirectory > Hi, John thanks you comment, the coding i

Re: need help(urgent)

2004-05-26 Thread John W. Krahn
Girish N wrote: > > Hi All Hello, > I am stuck with this script which I need to finish today... > > What I am supposed to do is > 1) parse a file and search for included files and insert those > included files in the file. > > Eg. > File1 > Lkdfs > Sdfdsfds > Sdfsdf > Include "one.txt" >

Fw: need help(urgent)

2004-05-26 Thread LRMK
); } Rakhitha Karunarathne Web Master www.Ad-Man.tk - Free Unlimited Banner Rotators > - Original Message - > From: "Girish N" <[EMAIL PROTECTED]> > To: "'LRMK'

Re: need help(urgent)

2004-05-26 Thread LRMK
___ Rakhitha Karunarathne Web Master www.Ad-Man.tk - Free Unlimited Banner Rotators - Original Message - From: "Girish N" <[EMAIL PROTECTED]> To: "'LRMK'" <[EMAIL PROTECTED]> Sent: Wednesd

Re: need help(urgent)

2004-05-26 Thread LRMK
; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 26, 2004 4:49 PM Subject: need help(urgent) > Hi All > > I am stuck with this script which I need to finish today... > > > > What I am supposed to do is > > 1) parse a file and search f

Re: need help(urgent)

2004-05-26 Thread Jose Alves de Castro
On Wed, 2004-05-26 at 12:09, Jose Alves de Castro wrote: > > What I am supposed to do is > > > > 1) parse a file and search for included files and insert those > > included files in the file. Lets get step by step with my solution (just so you understand what it is doing) > Try this: (It

Re: need help(urgent)

2004-05-26 Thread Jose Alves de Castro
On Wed, 2004-05-26 at 11:49, Girish N wrote: > Hi All > > I am stuck with this script which I need to finish today... > > > > What I am supposed to do is > > 1) parse a file and search for included files and insert those > included files in the file. > > Eg. > > File1 > > Lkdfs > >

Re: need help(urgent)

2004-05-26 Thread Ramprasad A Padmanabhan
First of all learn how to use a newsgroup 1) Use a proper subject 2) Post what you have tried 3) Do not expect a ready made solution... Even though a lot of good people around would give u that , but u dont learn that way What you could do is write a function file2str that reads a file and retu

need help(urgent)

2004-05-26 Thread Girish N
Hi All I am stuck with this script which I need to finish today... What I am supposed to do is 1) parse a file and search for included files and insert those included files in the file. Eg. File1 Lkdfs Sdfdsfds Sdfsdf Include "one.txt" Sdfdsf Sdfsdf Werewr Tytry Where one

RE: urgent need for installing perl 5.8.0

2004-03-10 Thread david
Nilay Puri wrote: > > I downloaded perl 5.8.0 from search.cpan.org > > While running make , I am getting this error : > > Can anyone throw some light about the cause: > Making Errno (nonxs) > make[1]: Entering directory `/perl-5.8.0/ext/Errno' > Makefile out-of-date with respect to ../.

RE: urgent need for installing perl 5.8.0

2004-03-10 Thread Nilay Puri, Noida
make: *** [ext/Errno/pm_to_blib] Error 2 Thanks -Original Message----- From: Nilay Puri, Noida [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 1:15 PM To: Perl List (E-mail) Subject: urgent need for installing perl 5.8.0 Hi All, I want to install perl 5.8.0 on sun solaris. I am not

Re: urgent need for installing perl 5.8.0

2004-03-09 Thread Randy W. Sims
On 03/10/04 02:44, Nilay Puri, Noida wrote: Hi All, I want to install perl 5.8.0 on sun solaris. I am not getting the tar for perl 5.8.0 At the site ftp://ftp.cpan.org/pub/CPAN/src/5.0/ on trying to download perl-5.8.0.tar.gz I get error file not found. At other mirror sites I get the same error

urgent need for installing perl 5.8.0

2004-03-09 Thread Nilay Puri, Noida
Hi All, I want to install perl 5.8.0 on sun solaris. I am not getting the tar for perl 5.8.0 At the site ftp://ftp.cpan.org/pub/CPAN/src/5.0/ on trying to download perl-5.8.0.tar.gz I get error file not found. At other mirror sites I get the same error. I downlaoded stable.tar.gz , which again

Re: Sorting Help (***) URgENT!

2003-07-24 Thread Shawn
I think instead of /$trip/ you ought to use /\Q$trip\E/ Check out the "Quote and Quote-like Operators" section of perlop. On Thu, 2003-07-24 at 14:57, [EMAIL PROTECTED] wrote: > I am trying to get this written for a presentation in the morning (gotta > love it when the boss dumps a pile of stuff

Sorting Help (***) URgENT!

2003-07-24 Thread [EMAIL PROTECTED]
I am trying to get this written for a presentation in the morning (gotta love it when the boss dumps a pile of stuff with 3 hours left in the day) and I have a massive file that is a flat file database (| delimited) that I need to sort through to get all the *** entries out of. The file format is

Re: Urgent : Can I override #! defn. through any command line option ??

2003-06-04 Thread Paul Johnson
> You and always execute your script by first specifying the > Perl executable: > > /some/othet/perl/bin/perl script.pl > > This completely bypasses the she-boom line in your > script. That'll be shebang. I think she-boom was Belgium's 1994 entry into the Eurovision song contest ;-) Actually, p

Re: Urgent : Can I override #! defn. through any command line option??

2003-06-04 Thread T.S. Ravi Shankar
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.

Re: Urgent : Can I override #! defn. through any command line option ??

2003-06-04 Thread Sudarshan Raghavan
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 Subject: Urgent : Can I override #! defn. t

RE: Urgent : Can I override #! defn. through any command line option ??

2003-06-04 Thread Geer, David van der
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. Therefor you will get errors from the korn-shell as it's a different language. The meaning of this is that whenev

Re: Urgent : Can I override #! defn. through any command line option ??

2003-06-04 Thread T.S. Ravi Shankar
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

Re: Urgent : Can I override #! defn. through any command line option ??

2003-06-04 Thread Beau E. Cox
- Original Message - From: "T.S. Ravi Shankar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, June 03, 2003 11:04 PM Subject: Urgent : Can I override #! defn. through any command line option ?? > Hi all : > > My p

Urgent : Can I override #! defn. through any command line option ??

2003-06-04 Thread T.S. Ravi Shankar
Hi all : My perl programme has a PERL path defined at its header through #! /rem/depot/local/bin/perl But I would like to run the same code with some other versions of PERL that are in different paths. Could I override the #! definition through any PERL command line option or through any other me

Re: Urgent: How do I find real file instead of link

2003-03-21 Thread David T-G
David, et al -- ...and then david said... % % Ohad Ohad wrote: % ... % > This means also if I have a linked list of links I want to get the real % > file at the end. Ohad, do you want to know where the link (chain) points or do you want to get the data that's in the target file? ... % % for(

Re: Urgent: How do I find real file instead of link

2003-03-21 Thread Steve Grazzini
Ohad Ohad <[EMAIL PROTECTED]> wrote: > Thought it was obvious, but I guess not . . . > > What I want is : > I have a symbolic link (to file - Unix), and I want to get the > real file it is pointing to. > Cwd::abs_path will resolve symlinks. -- Steve perldoc -qa.j | perl -lpe '($_)=m("(.*)")

Re: Urgent: How do I find real file instead of link

2003-03-19 Thread Brett W. McCoy
On Wed, 19 Mar 2003, Ohad Ohad wrote: > I have a link and want the real file that it is pointing to. > > This means also if I have a linked list of links I want to get the real file > at the end. That's a bit tricky, but it can be done. You'll need to use the stat builtin to get at the file info

Thanks!!! Re: Urgent: How do I find real file instead of link

2003-03-19 Thread Ohad Ohad
From: david <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Urgent: How do I find real file instead of link Date: Wed, 19 Mar 2003 10:08:01 -0800 Ohad Ohad wrote: > I have a link and want the real file that it is pointing to. > > This means a

Re: Urgent: How do I find real file instead of link

2003-03-19 Thread david
Ohad Ohad wrote: > I have a link and want the real file that it is pointing to. > > This means also if I have a linked list of links I want to get the real > file at the end. > try readlink and -l: #!/usr/bin/perl -w use strict; for(qw(file1 file2 file3)){ print "$_ -> ",readlink,"\n"

Re: Urgent: How do I find real file instead of link

2003-03-19 Thread Ohad Ohad
Thought it was obvious, but I guess not . . . What I want is : I have a symbolic link (to file - Unix), and I want to get the real file it is pointing to. 10x From: "Ohad Ohad" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Urgent: How do I find real file instead of li

RE: Urgent: How do I find real file instead of link

2003-03-19 Thread NYIMI Jose (BMB)
> Maybe it's just me but I have no idea what any of that means. Not just you, me too :) José. > Could you be a little more specific/detailed. Any examples? > > Are you talking about html links or *nix soft and hard links? > > What are you trying to use Perl to do? DISCLAIMER "T

RE: Urgent: How do I find real file instead of link

2003-03-19 Thread Dan Muey
> I have a link and want the real file that it is pointing to. > > This means also if I have a linked list of links I want to > get the real file > at the end. > Maybe it's just me but I have no idea what any of that means. Could you be a little more specific/detailed. Any examples? Are you

Urgent: How do I find real file instead of link

2003-03-19 Thread Ohad Ohad
I have a link and want the real file that it is pointing to. This means also if I have a linked list of links I want to get the real file at the end. 10x _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.

Re: URGENT: help setting perl really really needed

2003-02-24 Thread R. Joseph Newton
Mo El-Awaisi wrote: > hi > > i have installed red hat 8 on my computer along with Apache, Perl/ MySQL and > PHP. i am having problems getting PERL to work. > > i try to run the following script, but no luck: I'd suggest you sort out your issues one at a time. Do not test the performance of Perl

Re: URGENT: help setting perl really really needed

2003-02-24 Thread david
Mo El-Awaisi wrote: > as perl came with the install of red hat, i simply went to httpd.conf and > added the following > > > > PerlModule Apache::PerlRun > > SetHandler perl-script > PerlHandler Apache::PerlRun > Options ExecCGI > PerlSendHeader On > allow from all > > < > you need to

Re: URGENT: help setting perl really really needed

2003-02-24 Thread Mo El-Awaisi
Thanks, How do i do the two options you have mentioned? i do have mod-perl installed. How do i tell Apache where the CGI bin are? how do i change the chmod from 755!! Cheers, Mo Howdy, One of two things, maybe. Either you have not told Apahce where the cgi-bin is (I don't know Red Hat, only N

URGENT: help setting perl really really needed

2003-02-24 Thread Mo El-Awaisi
hi i have installed red hat 8 on my computer along with Apache, Perl/ MySQL and PHP. i am having problems getting PERL to work. i try to run the following script, but no luck: simply trying to test mod-perl as perl came with the install of red hat, i simply went to httpd.conf and added the fo

urgent help needed

2003-01-20 Thread Prashant Desai
Hi i am trying to install a perl module's rpm but see following is happening , i also tried looking for these modules but not able to find can some one point me [root@ctsweb prashant]# !rpm rpm -i perl-OLE-Storage_Lite-0.10-8.i386.rpm error: failed dependencies: perl(:WITH_ITHREADS)

RE: [OT]: URGENT virus warning - Virus from msg: [Fireworks] OT: (Kind of) Font used in MX panels?

2002-11-13 Thread Perl
;--DJR53R02EA0JXRT" X-RCPT-TO: <[EMAIL PROTECTED]> X-UIDL: 18039 Status: U === -Original Message- From: Felix Geerinckx [mailto:felix_geerinckx@;hotmail.com] Sent: Tuesday, November 12, 2002 6:36 AM To: [EMAIL PROTECTED] Subje

[OT]: URGENT virus warning

2002-11-12 Thread Felix Geerinckx
Through private communication I've been informed that another list member has received an email message from '[EMAIL PROTECTED]' with a subject line of 'Weekly postins statitistics - 37/2002'. This email message contained the so-called 'W32.Bugbear@mm' virus. I posted this message f

Re: (forw) [bootscat@bellsouth.net: Re: FW: Need urgent help]

2002-10-09 Thread zentara
On Wed, 9 Oct 2002 09:00:20 +0100, [EMAIL PROTECTED] (Mat Harris) wrote: > >I tried > > require './config.cgi'; > >I still get the same error. Any other idea's. This one really has me >stumped. Your config.cgi needs to have a 1; on it's last line. Also check permissions on the file. -- To unsu

(forw) [bootscat@bellsouth.net: Re: FW: Need urgent help]

2002-10-09 Thread Mat Harris
- Forwarded message from Bootscat <[EMAIL PROTECTED]> - From: "Bootscat" <[EMAIL PROTECTED]> To: "Mat Harris" <[EMAIL PROTECTED]> Subject: Re: FW: Need urgent help Date: Tue, 8 Oct 2002 20:04:38 -0500 X-Priority: 3 X-MSMail-Priority: Norm

Re: FW: Need urgent help

2002-10-08 Thread Mat Harris
s the original poster. > > -Original Message- > From: Bootscat [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 08, 2002 4:51 PM > To: Nikola Janceski > Subject: Re: Need urgent help > > > Here's how it's worded. > > use CGI::Carp qw(fatal

FW: Need urgent help

2002-10-08 Thread Nikola Janceski
He just sent it to me for some reason, but I can't find the problem. Be sure to CC Bootscat as he is the original poster. -Original Message- From: Bootscat [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 4:51 PM To: Nikola Janceski Subject: Re: Need urgent help Here&

Re: Need urgent help

2002-10-08 Thread Mat Harris
can you give us a sample of your script showing the line in question On Tue, Oct 08, 2002 at 02:05:28 -0500, Bootscat wrote: > Can someone tell me how to get passed this error? > The Config files it's looking for is there. > > Can't locate config.cgi in @INC (@INC contains: /usr/lib/perl5/5.6.1/

RE: Need urgent help

2002-10-08 Thread Nikola Janceski
ay, October 08, 2002 3:05 PM > To: [EMAIL PROTECTED] > Subject: Need urgent help > > > Can someone tell me how to get passed this error? > The Config files it's looking for is there. > > Can't locate config.cgi in @INC (@INC contains: > /usr/lib/perl5/5.6.

Need urgent help

2002-10-08 Thread Bootscat
Can someone tell me how to get passed this error? The Config files it's looking for is there. Can't locate config.cgi in @INC (@INC contains: /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.

Re: where to start... (urgent)

2002-09-26 Thread Dharmender Rai
start with Learning Perl and docs at www.perldocs.com .. --- waytech <[EMAIL PROTECTED]> wrote: > Hi, > > I am new to perl. But my frist task in the > > new company is to write a program using it. > > The program is to prevent password protected > > website from password sharing. > >

RE: where to start... (urgent)

2002-09-26 Thread Timothy Johnson
You might want to check with the cgi-beginners list... -Original Message- From: waytech [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 9:53 PM To: Perl beginners Subject: where to start... (urgent) Hi, I am new to perl. But my frist task in the new company is to

where to start... (urgent)

2002-09-26 Thread waytech
Hi, I am new to perl. But my frist task in the new company is to write a program using it. The program is to prevent password protected website from password sharing. Such as a online training website, two persons can not use the same username and passowrd at the same time. And th

RE: HTML, Urgent

2002-07-30 Thread Perl
hich would save you time, but the best most reliable way I suspect may be the Adobe Acrobat PDF modules from CPAN. Hope that helps, -Original Message- From: Omar Shariff [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 8:37 AM To: [EMAIL PROTECTED] Subject: HTML, Urgent Hi, i cor

RE: HTML, Urgent

2002-07-30 Thread Timothy Johnson
This almost sounds like something that the cgi list might be able to answer better. -Original Message- From: Omar Shariff [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 7:37 AM To: [EMAIL PROTECTED] Subject: HTML, Urgent Hi, i correct the problem with NT, and was the server

HTML, Urgent

2002-07-30 Thread Omar Shariff
Hi, i correct the problem with NT, and was the server html... Now i have another problem i'm trying to put a image in a page (its a form image) and write over with a database records... well my problem is: the image when i resize to enter in a Legal size, see bad, i see in other page that the imag

  1   2   >