Search the web
Sign In
New User? Sign Up
Perl_Official · Perl . CGI . Shell script
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 1437 - 1467 of 2062   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1437
Hi.. This is Shraddha. i want to run .pl or .cgi files from apache server stored in cgi-bin directory of serevr.But it gives error - Internal server error. ...
shraddha more
its_shraddham
Offline Send Email
Mar 1, 2004
5:03 pm
1438
I'm not sure if this'll work, but have you tried adding: AddHandler cgi-script .cgi AddHandler cgi-script .pl or ScriptAlias /cgi-bin/...
Emanuel G Calso
egcalso
Offline Send Email
Mar 2, 2004
3:44 pm
1439
Hello Out of above 2 attached files I could run form.cgi from Browser but could not run test.cgi since it was giving error as 'Premature end of script' Can...
shraddha more
its_shraddham
Offline Send Email
Mar 3, 2004
9:22 am
1440
Hi all; I've been trying to find out what i'm doing wrong but couldn't.Why am I keep receiving these messages back to back ?Any idea? "Possible attempt to...
oykusualaca
Offline
Mar 3, 2004
9:22 am
1442
Pedal you're religous crap else where. ... === message truncated === ===== Sincerely, Paul Malcher __________________________________ Do you Yahoo!? Yahoo!...
Paul Malcher
iso196
Offline Send Email
Mar 3, 2004
7:29 pm
1443
Does anyone familiar with the error message that I'm keep receiving.I couldn't find out why I'm having this error. I would appricate for any help Belinda Here...
oykusualaca
Offline
Mar 3, 2004
9:09 pm
1444
... What's the slash doing in the use statement? Is this a new syntax for qw? I know only the variant .... qw(standard) Ronald...
fischron.external@...
dodekaedergu...
Offline Send Email
Mar 4, 2004
6:49 am
1445
Hello, I'm making an analytical software for my school... It has something like this code: add_all(\%hash); which calls a subroutine like this (but not...
Emanuel G Calso
egcalso
Offline Send Email
Mar 4, 2004
4:55 pm
1446
Good question. I don't know the answer, but I THINK it does NOT release the memory back to the OS. I did a little test of my own: * Used strict pragma to...
kchima01
Offline
Mar 4, 2004
7:17 pm
1447
Hello !!! I want to run .cgi files through web browser. The file test.cgi is stored in cgi-bin folder of apache. Right now, what i am doing is as follows... ...
shraddha more
its_shraddham
Offline Send Email
Mar 5, 2004
10:53 am
1448
hello.. Can u tell me what exactly happens when u say $perl test.pl at the backend??? How this command is interpreted???or what are the steps through which...
shraddha more
its_shraddham
Offline Send Email
Mar 6, 2004
8:03 pm
1449
I think that depends on what's in test.pl But i've tried: $ perl -w test.pl with the first line of the test.pl: #/usr/bin/perl -wT an error said it's to late...
Emanuel G Calso
egcalso
Offline Send Email
Mar 6, 2004
8:03 pm
1450
... Don't you mean undef ($href) here? ... Basically, yes, but it depends on how the hash is used outside this sub. For example, if you had, before invoking...
fischron.external@...
dodekaedergu...
Offline Send Email
Mar 8, 2004
8:26 am
1451
Hi... I want to replace word - apples by oranges... for replacing the basic program is as follows... #!/usr/bin/perl -w $string1="apples apples"; $string1 =~...
shraddha more
its_shraddham
Offline Send Email
Mar 8, 2004
5:35 pm
1452
... Check out the "perlrun" man page for the -i switch, which enables "in-place" editing for files. In your case, I think you should also read about the -p...
fischron.external@...
dodekaedergu...
Offline Send Email
Mar 9, 2004
6:46 am
1453
As an addendum, if we dont want to use a temp file, we can use something like this, open(TEST,"<text.txt") or die "hey where is the file??"; @file = <TEST>; ...
Rajesh
raj1_iit
Offline Send Email
Mar 9, 2004
3:28 pm
1454
Hi!!! One way is to use perl in command line mode instead of creating an running a program. Here´s how perl -p i.bak -e 's/apples/oranges/g' file This will...
Luis C
luisc9boca
Offline Send Email
Mar 9, 2004
3:30 pm
1455
Why not do this instead: undef $/; open(TEST,"<text.txt") or die "hey where is the file??"; $file = <TEST>; close(TEST); open(TEST,">text.txt") or die "hey...
Emanuel G Calso
egcalso
Offline Send Email
Mar 9, 2004
9:04 pm
1456
Hello, Recently, there were some discussion on replacing a word with another word in a file. Similarly, I have a requirement wherein I have to replace a word...
Sridhar
b_s_sridhar
Offline Send Email
Mar 10, 2004
5:11 am
1457
... I think the "e" modifier of the substitution operator might help here; see the perlop man-page. $line =~ s/apples/"*".apples()."*"/ge; # code not...
fischron.external@...
dodekaedergu...
Offline Send Email
Mar 10, 2004
7:21 am
1458
... This depends on the installed hardware, the swap space, the operating system in use, and the number of other programs competing for memory. You could ...
fischron.external@...
dodekaedergu...
Offline Send Email
Mar 10, 2004
7:34 am
1459
... Thank you Ronald, it works :-) Sridhar. __________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster ...
B.S.Sridhar
b_s_sridhar
Offline Send Email
Mar 10, 2004
11:14 am
1460
Hi ... I am trying to modify a file. I replace few words in file for which I go as follows.. 1.open a temp file(say a.txt) 2.write content of original file(say...
shraddha more
its_shraddham
Offline Send Email
Mar 10, 2004
6:21 pm
1461
I do it like this: $old_txt = "apples"; $new_txt = sub_to_get_new_txt($txt); $line =~ s/$old_txt/$new_txt/g; HTH ... -- eman calso http://www.bloodpet.tk/ If...
Emanuel G Calso
egcalso
Offline Send Email
Mar 10, 2004
6:22 pm
1462
Yup. That's what i meant... sorry. That means, the mem gets freed only after the end of the sub... w/c means i really have to use %{;href} everytime instead of...
Emanuel G Calso
egcalso
Offline Send Email
Mar 10, 2004
6:22 pm
1463
... No, it means that the EARLIEST time memory gets freed is, when no references to it exist anymore. In practice, it might be garbage collected at any later ...
fischron.external@...
dodekaedergu...
Offline Send Email
Mar 11, 2004
9:33 am
1464
... Not until you post the essential parts of your program (including the Perl command line switches in use). Ronald...
fischron.external@...
dodekaedergu...
Offline Send Email
Mar 11, 2004
9:35 am
1465
Please use "e" in the end I mean s/any thing/any valid perl expression/e; the "any valid perl expression" will be evaluated and then its result will be put...
parvez mohamed
parvez80
Offline Send Email
Mar 11, 2004
12:38 pm
1466
Hello, Use chomp or chop before you create the new file. Or delete old file once you have read and created a new file a.txt then rename a.txt simple ...
parvez mohamed
parvez80
Offline Send Email
Mar 11, 2004
12:44 pm
1467
... chomp what????? What has chomping to do with the OP's problem? Ronald...
fischron.external@...
dodekaedergu...
Offline Send Email
Mar 11, 2004
1:03 pm
Messages 1437 - 1467 of 2062   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help