- Original Message -
From: Jolok [EMAIL PROTECTED]
Newsgroups: perl.beginners
Sent: Thursday, August 28, 2003 11:24 AM
Subject: printing elements of an array
Hello
This should be very straightforward:
print Enter 5 of your favorite foods: ;
$favorites = ( STDIN );
Hi Rob,
Thanks for taking the time to look at my code. We'll I should have included the
entire source but did not want to burn up people's bandwidth. Yes, I do have strict
and warnings in my code. I run the SctiTE IDE for my development work on a windows
2000 box ( I am a RH man though!).
Is there any module in Perl can dealing with Procession ID on Win32?
And does Perll able to stop or start a services / application?
Any pointers where I can start from ?
Thank you very much...
I am a beginner to Perl. Well, I have a scenario like this. I have a
pattern like VIOLATE in the file. So, I want to use the perl to search
that pattern and see how many times it found such pattern. [Trimmed].
I am a beginner too but try this:
my $count
while my $filevar (file)
{
while
Dan
Here is the excerpt of my program that does not print to the terminal window when run
on UNIX:
elsif ( $tmpar[0] == 99 ) {
print Number of records in the input file:\t\t$reccnt\n;
print Number of corrupt records in file:\t\t$ctcnt\n;
print Number of zero second
You are right Dan ;-)
The 'Other way' desn't really handle te size. I'm sorry for that. What I
was
really thinking is that you can have a control of what amount of data is
being uploaded just counting the loops (1 Kb for every loop).
-rm-
- Original Message -
From: Dan Muey
-Original Message-
From: Vema Venkata
Sent: Tuesday, 1 July 2003 2:06 PM
To: '[EMAIL PROTECTED]'; 'Sudarshan Raghavan'
Subject: help
For the following script can any one help me to create a log file
wud be appreciated help asap
rgds
venkat
Hi
My apologies for resending this e-mail so many times. I noticed that some of
the attachements could not be viewed. Attached
are the files containing the wrapper C code and also its output.
My apologies for the confusion caused.
The warning message which puzzles me most is The flags you gave
Just a note - running win2k and perl v5.8.0 (built for
MSWin32-x86-multi-thread).
-Original Message-
From: Derek Byrne
Sent: 27 June 2003 00:13
To: [EMAIL PROTECTED]
Subject: Re : Compilation Errors
Hi All,
Reading through Learning Perl (3rd Ed), and messing around with Binary
Begin forwarded message:
Date: Wed, 4 Jun 2003 11:20:44 -0500
From: Michael Muratet [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Where is @INC saved and other installation issues
How do I get things _really_ clean? Where does @INC live? I'd like to
start over, keep the RedHat
Sorry, for some reason I'm blocked from emailing RoadRunner accounts, by
Roadrunner.
Here is a forward of an email I jsut sent you personally but bounced. It's
Perl CGI related, so it's not offtopic for hte list ... but oculd be an
annoyance for some, possibly.
Dennis Stout
S.T.O.U.T. =
]
To: [EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 13 32
Subject: Fw: question about perl.
Sorry, for some reason I'm blocked from emailing RoadRunner accounts, by
Roadrunner.
Here is a forward of an email I jsut sent you personally but bounced.
It's
Perl CGI related, so it's
Thanks!
- Original Message -
From: Jordan Mclain [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 3:31 PM
Subject: RE: Help using %Hashes
you could do this after you initiate the hash.
foreach(sort keys %params) {
$params{$_} = $cgi-param($_);
}
- Original Message -
From: Jason Archer [EMAIL PROTECTED]
To: Zielfelder, Robert [EMAIL PROTECTED]
Cc: Perl Beginners [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 3:56 PM
Subject: Re: Perl/TK problem with sub routines
My guess would be (I am a noob also, with no experience of Tk
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 4:58 PM
To: [EMAIL PROTECTED]
Subject: OLDB - ODBC
Does this belong in the DBI list? Sorry if the answer is yes.
*
Hi,
We have a problem. We run Perl for Window NT. We
On Mon, 24 Mar 2003 17:12:39 +0100 NYIMI Jose (BMB) [EMAIL PROTECTED] wrote:
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 4:58 PM
To: [EMAIL PROTECTED]
Subject: OLDB - ODBC
Does this belong in the DBI list? Sorry if the
- Original Message -
From: Gufranul Haque [EMAIL PROTECTED]
To: David Olbersen [EMAIL PROTECTED]
Sent: Friday, March 21, 2003 3:12 PM
Subject: Re: calculating length of a number
Hello all,
I have a series of numbers 20.45,-2.00,45.450,-30.390
20.45 - length is 5
-2.00 -
I am writing a CGI Script like the guestbook.cgi script.
I wantfollowing actions to occur:
a.Menu item calls my script (cgi).
b. Script displays a menu with four items on it.
c.Menu items callsform (sub routine) i.e.,
sub entry_form {
my $q = shift; my $url =
"">
my $form =
E_FORM;
Gidday All,
Further to my previous email If I change the permissions to 555 it works, but if I set
it to 777 it doesn't could this be a safeguard that is built into the server?
Any help appreciated.
Colin
-Original Message-
From: Johnstone, Colin
Sent: Wednesday, March 19, 2003 14:34
Clear DayI Wanna Get Weighed
John took his blind date to the carnival. What would you like
to do first, Kim? asked the man. I want to get weighed,
said the girl.
They ambled over to the weight guesser. He guessed 120 pounds.
She got on the scale; it read 117 and she won a prize.
Rob/Joseph,
It worked, thanks.
Horace
- Original Message -
From: R. Joseph Newton [EMAIL PROTECTED]
To: Rob Dixon [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, March 09, 2003 7:51 PM
Subject: Re: CG I Script [guestbook.cgi]
Rob Dixon wrote:
Mr. Horace Franklin Jr.
NO MORE ERRORS!!!
The script guestbook.cgi is working!
My heartfelt thank to everyone that assisted me.
- Original Message -
From: Mr. Horace Franklin Jr. [EMAIL PROTECTED]
To: R. Joseph Newton [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, March 10,
Thanks and thanks to Drieux and Zentra for
Your generous suggestions. After looking things over
I have decided to try frames, last, after I complete the Remaining changes
requested on my new system. My
Hesitation is that I wrote the system without this in
Mind. The menu program calls
On Monday, Mar 3, 2003, at 09:38 US/Pacific, Maureen E Fischer wrote:
[..]
My Hesitation is that I wrote the system without this in
Mind.
[..]
I was afraid you would notice that.
the two crucial places you will need to think your
way through the frame problem is
a. a href= target=foo
- Original Message -
From: Fred T. Sanders [EMAIL PROTECTED]
To: drieux [EMAIL PROTECTED]
Sent: Monday, March 03, 2003 9:20 PM
Subject: Re: FW: Perl/CGI with FRAMES
I haven't read through the whole thread but has anyone suggested just using
the base tag to set a global target for all
but how can I tell when all three are finished? If I use
$obj1-Wait(INFINITE);
$obj2-Wait(INFINITE);
$obj3-Wait(INFINITE);
what happens if $obj2 finishes before $obj1?
looks like this works fine...
PHF
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
I am having a problem knowing how to force a top of page. I was using
format
statements for my report by I can change it to printf if there is a way. My
report is for various clients and I want to run the job once for all the
clients but go to top of page and start the page numbers over at
Well as a followup to my own email..
This works where the while loop does not, so at least now I've found a way
to pipe the output of the unix find command into my program :) I'm still
not sure I understand why though...
chomp(@files = );
I had also tried:
while () {
@files = $_;
}
Below, an input I have got from dbi-users forum.
José.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 5:39 PM
To: NYIMI Jose (BMB); [EMAIL PROTECTED]
Subject: RE: Perl OO - Dynamic method call
IMHO: This is not bad design, is
small modification below.
-Original Message-
From: Toby Stuart [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 12:56 PM
To: 'Johnstone, Colin'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Removing HTML Tags
-Original Message-
From: Johnstone, Colin
On Thu, 2003-01-23 at 13:12, Toby Stuart wrote:
small modification below.
-Original Message-
From: Toby Stuart [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 12:56 PM
To: 'Johnstone, Colin'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Removing HTML Tags
-Original Message-
From: Johnstone, Colin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 12:29 PM
To: '[EMAIL PROTECTED]'
Subject: Removing HTML Tags
Gidday all,
When using our CMS (Interwoven Teamsite) I want to remove
from
Thank you all for your help.
-Original Message-
From: Toby Stuart [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 13:44
To: 'simran'
Cc: '[EMAIL PROTECTED]'
Subject: RE: FW: Removing HTML Tags
-Original Message-
From: Johnstone, Colin [mailto:[EMAIL
Thanks for the clarification. I was misunderstanding how a HoH works. Ed
-Original Message-
From: Ed Sickafus [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 19, 2003 5:18 PM
To: [EMAIL PROTECTED]
Subject: naming a variable as a numeric value
I asked in a previous query ...
Is
- Original Message -
From: Jacques Lederer [EMAIL PROTECTED]
To: Paul Johnson [EMAIL PROTECTED]
Sent: Sunday, January 19, 2003 8:32 PM
Subject: Re: pid
OK. Thanks very much, the eval thing does work.
I have another one now, on another subject. On a linux box, I am trying to
get a
-Original Message-
From: Sean Rowe [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 9:15 AM
To: Timothy Johnson
Subject: Re: perl vs tcl?
No gui programming. I think it's used more for logic than anything
else. Not really for string manipulation. It's hard to explain
I am running on a windows xp pro desktop with iis installed. I have
active state Perl installed and have been using it with out a problem. I
just started to play with cgi and I am having a lot of problems getting
it to work right. I have a static html form that's action calls the
following script.
Use this codethis is better than previouse one it does not
change actionthis one directly change Window locationHere is
code--htmlheadtitleNew
Page 1/title/headscript
language="_javascript_"!--function doit(){urls=new
Interesting discussion, I was just trying, in a somewhat more civil
manner than RTFM, to merely point out that the original poster hadn't
done his/her homework and used the help of looking in the docs that had
already been offered. :-)
http://danconia.org
R. Joseph Newton wrote:
HI Randal,
Are you talking about a form where you type in say '10' in fieed one and '15 in field
two and the actual html page changes to say '25' as soon as you type them in without
hitting submit?
If so, yes you'll need javascript, and getting it to work is a javascript issue. As
far as javascript goes
HI Randal,
Although not in the Perl culture, I have indeed seen a great deal of cargo cult
thinking in my years, and I fully agree that such consciousness is a Very Bad Thing.
On a quick skim of lwpcook, I would also tend to agree that this is a good source of
first reference to those
R == R Joseph Newton [EMAIL PROTECTED] writes:
R Hi Randal,
R I must take issue with you here.
And therefore, you misunderstood my purpose.
You have not *seen* the amount of cargo-cult c**p that I've seen
in advising people about Perl over 13 years.
Maybe it's interesting to know how it works
Hi Randal,
I must take issue with you here. Whatever the convenience of such utilities in a
production environment, there is a definite advantage to the learning process in
hand-coding. I learned something just from reading the example--that there was a
specific MIME for httP posts.
Rob == Rob Dixon [EMAIL PROTECTED] writes:
Rob It's not appropriate to correct anything but misleading advice.
It's misleading to handcode application/x-www-form-urlencoded values
when more proper higher-level functions are available, such
as HTTP::Request::Common.
I thought the URL was
What I want is
when a visitor came and post something to my cgi script
that script must post some of that information to another cgi script on
another web server get the results and send back to the visitor
how do I do that?
- Original Message -
From: Wiggins d'Anconia [EMAIL PROTECTED]
Right. And that is what the LWP module is for. From the docs on the
first URL I posted earlier:
snippet
An Example
This example shows how the user agent, a request and a response are
represented in actual perl code:
# Create a user agent object
use LWP::UserAgent;
$ua =
Wiggins == Wiggins D'Anconia [EMAIL PROTECTED] writes:
Wiggins Right. And that is what the LWP module is for. From the docs on the
Wiggins first URL I posted earlier:
Wiggins# Create a request
Wigginsmy $req = HTTP::Request-new(POST =
Wiggins 'http://www.perl.com/cgi-bin/BugGlimpse');
Randal
There's nothing wrong with Wiggins' advice. Take a look at the first URL
[he] posted earlier and you'll find nothing about the HTTP::Request::Common
module at all. In fact I can't find anywhere it tells you not to use the
constructor directly - the nearest I've come across is in the POD
Randal L. Schwartz wrote:
Wiggins == Wiggins D'Anconia [EMAIL PROTECTED] writes:
Wiggins Right. And that is what the LWP module is for. From the docs on the
Wiggins first URL I posted earlier:
Wiggins# Create a request
Wigginsmy $req = HTTP::Request-new(POST =
Wiggins
How do I go about installing the Win32-DriveInfo in perl under windows
since there are no ppm packages?
Thomas Browner
Digidyne, Inc
Technical Engineer
(251)479-1637
-Original Message-
From: Nigel Peck - MIS Web Design [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 16, 2002 3:42 PM
:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 5:17 PM
To: [EMAIL PROTECTED]
Subject: FW: remote hard drive stat
How do I go about installing the Win32-DriveInfo in perl
under windows since there are no ppm packages?
Thomas Browner
Digidyne, Inc
Technical Engineer
(251)479-1637
perldoc -f pack [used in almost any standard header-parsing routine]
Joseph
Johnstone, Colin wrote:
Toby, anyone,
My next question is I guess I need to know now why this happens?
So that I can anticipate it and code for it in the future.
e.g sorcha.o'[EMAIL PROTECTED]
So why does it
Toby, anyone,
My next question is I guess I need to know now why this happens?
So that I can anticipate it and code for it in the future.
e.g sorcha.o'[EMAIL PROTECTED]
So why does it convert it to
[EMAIL PROTECTED]
when it writes it out to the text file.
What is best practice
can I stop
I just finished the learning Perl book and thought I would try and
rewrite a bash script that I had written long ago. The purpose of the
app is to mount a samba folder on a winx machine. Copy its contents to a
local folder as a mirror. I just wanted some input on my app and some
things explained
Further to my previous message.
after fixing the ~= I get the following.
I know $screenOutput has a value because I see the html contained in the file Im
reading on the screen its just not doing the substitution.
please advise.
Colin
-Original Message-
From: Johnstone, Colin
Sent:
behold the power of open source..
http://danconia.org
Fred A. Romani wrote:
- Original Message -
From: Fred A. Romani
Sent: Thursday, November 07, 2002 1:22 PM
To: [EMAIL PROTECTED]
Subject: Congratulations List Members!
My background is Math, Sciences and Engineering. I like
-Original Message-
From: Beau E. Cox [mailto:beau;beaucox.com]
Sent: Monday, October 28, 2002 2:27 AM
To: Ruessel, Jan
Subject: RE: Installation
Wow -
OK
1) Look at the perl module CGI (perl has add-on
modules that are contributed by people like
you and me - they are located in
see correction below
-Original Message-
From: Toby Stuart
Sent: Friday, October 18, 2002 11:31 AM
To: 'Andrew Hubbard'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Single Quote marks in a string
been a long time since i done any SQL but i *think* you have
to quote single-quotes
From: Jon Shoberg [EMAIL PROTECTED]
I need to remove HTML scripts from some pages.
I have to replace
*script**/*script* with blanks. This includes all
javascript/vbscript
in between the tags
I'm using the * as guidelines to show it must match several
Never mind. I figured it out using substr().
Thanks,
Andrew
-Original Message-
From: Hughes, Andrew
Sent: Wednesday, October 16, 2002 4:04 PM
To: [EMAIL PROTECTED]
Subject: replacing numbers around a decimal
I am creating a little calculator that is going to need to take a user
If i understand what u want, the following works (i'll leave the printing to
another file up to you)
snip
use strict;
use warnings;
my %totals;
my $date;
my $count;
while (DATA)
{
chomp($_);
($date,$count) = split(/,/,$_);
$totals{$date} += $count;
}
while
- 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: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.
X
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
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's how
in that casem just humour me and try
require './config.cgi';
i have heard that can solve some problems
On Tue, Oct 08, 2002 at 04:17:50PM -0400, Nikola Janceski wrote:
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.
On Mon, 9 Sep 2002 14:31:44 +0300, [EMAIL PROTECTED] (Hytham Shehab)
wrote:
$|++;
this won't work man
u didn't get my q,
i need to push data into output without the need to recall the entire
script
to print the whole plus the new data, i want em to print only the new data.
thx
R u
R u looking 4 nph-push?
#! /usr/bin/perl
$|=1; # don't buffer output
$BOUNDARY=--start-new-page-here--; # seperates html pages
print HTTP/1.0 200 OK\n;
print Pragma: no-cache\n;
print Content-type:
Worked for me, quite well except for:
print HTTP/1.0 200 OK\n;
Which errored. If you get rid of it, it works still. If it doesn't work for
you, it shouldn't be a browser error but a server one, I guess.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
$|++;
this won't work man
u didn't get my q,
i need to push data into output without the need to recall the entire
script
to print the whole plus the new data, i want em to print only the new data.
thx
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hytham,
try cpan.org search CGI::state this might help
Brad
-Original Message-
From: Hytham Shehab [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Mon, 9 Sep 2002 14:31:44 +0300
Subject: Fw: output pushing
$|++;
this won't work man
u didn't get my q,
i need to push data
I tried posting this to the ntadmins group, but no go so far. Does anyone
on this list know how to do this?
Does anyone know how to resolve a local group account by SID using
Win32::Perms? It looks like you used to be able to specify the server to
check on, but the 200206XX version doesn't
I have installed a number of the nms scripts with tremendous success.
Thanks for your help.
-Original Message-
From: fliptop [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 9:09 PM
On Thu, 15 Aug 2002 at 20:36, Patricia Gillard opined:
you are strongly encouraged not to use
Thanks for helping a newbie in perl..
I am newbie too =)
This works on my computer, but you can try this :
--
#!/usr/bin/perl
use strict;
use CGI::Carp qw(fatalsToBrowser);
my $filepath=mypicture.jpg;
open(IMAGE,
I have installed both perl and Tk with RH7.1 and I also get the same error
messages as were posted here before. I have checked the man pages and
searched for the elusive Tk.pm file. Please can someone put me on the right
track?
Pat
Hi
My html looks like this :
form name='form1' method='POST' action='/cgi-bin/form.pl'
.
.
select multiple name='type' size=5
optionone
optiontwo
optionthree
etc
/select
.
.
/form
Does this look right?
Thanks
Margaret
- Original Message -
From: Kipp, James
on Tue, 30 Jul 2002 16:45:26 GMT, [EMAIL PROTECTED] (Tómas
guðmundsson) wrote:
But what do I do to make it more than just the phone number so if
I ask of Fred it shows his number, address, e-mail, and such ?
my %phone_book = qw(
Fred [EMAIL PROTECTED] 0123 fred'sstreet 34
);
I know
{Yep even the best of syntax highlighting patterns still can't handle some
of those FUNKY regexs I use in my perl program.}
Was that to scare us newcomers to Perl
I have been programming on/off since late 1978
and now I an just starting to program for the WEB
Perl, PHP, mySQL, etc.
I
- Original Message -
From: Tómas Guðmundsson [EMAIL PROTECTED]
To: Janek Schleicher [EMAIL PROTECTED]
Sent: Tuesday, July 30, 2002 8:41 AM
Subject: Re: Help, I suppose.
okey, I made it a hash now. And everything works and that's nothing but
cool!
But what do I do to make it more
Of cause, Cookies can help, if you want some modules can deal with
cookies, look at : http://search.cpan.org/search?mode=modulequery=Cookies
But how to let the cookies becomes a reliable issue, that depends how
you design on it.
But the concept on using cookies is somewhat talking about GET
Content-type: application/octet-stream
Content-Disposition: attachment\; filename=$file
This seems IE way, if I don't remember it wrongly,
this does not work at NS
Anyway, how about this ?
$| = 1;
my $file = 'yourfile.ext';
print Content-type: application/(your file type)\r\n\r\n;
Doh! I forgot about using $! All I need is
s/#$/\n/ ;
Thanks to Tor Tanton for getting my brain in gear...
-Original Message-
From: Busse, Rich
Sent: Tuesday, 23 July, 2002 09:00
To: 'Perl Beginners'
Subject: Replace last # with \n
I have a string that looks
-Original Message-
From: Toby Stuart [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 19, 2002 4:46 PM
To: 'Octavian Rasnita'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Chopping a string.
$line = substr($line,0,19,) . ...;
$line = substr($line,0,19) . ...; # removed the useless comma
my $folder = foldername;
my string1 = \\server\alias\*\file\;
should be $string1 =)
# how to make string1 = \\server\alias\foldername\file\
$string1 =~ s/\*{5}/$folder/g;
the {number} means how many exactly times to match the 'stuff' ( here is * )
before.
Rgds,
Connie
--
To
What Connie is looking for is something that translates an ordinary string
to a urlencoded string,
I don't know what does that but I got around the problem myself by using
the modules:
LWP::UserAgent;
HTTP::Request::Common;
Jonathan
- Original Message -
From: [EMAIL PROTECTED]
To:
first off let me say thank you for the help
I know I am a pest, but I am learning a lot
Anyway I fixed everything so it works fine in my editor
However now it refuses to work in my browser.
I keep getting an error 500
Which I can only assume is because of my html header.
I checked the subject
Sorry my bad, this doesn't work with lines as Andy Lester pointed out.
When i tested it i had a file with one char on each line. My apologies :(
Toby
-Original Message-
From: Toby Stuart [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 11:04 AM
To: '[EMAIL PROTECTED]'
Cc:
Is that what you want ?
sub maskIt()
{ my ($char) = shift ; my $ret = ;
$ret = '_M_' if ($char eq M) ;
$ret = '_N_' if ($char eq N) ;
$ret = '_O_' if ($char eq O) ;
$ret = '_P_' if ($char eq P) ;
# Somthing like that, use your way to
# mask them.
return $ret;
}
$string =
Please anybody I am begging now. Please help...
This is a mess now... I even have no concept on how to start.
I will working on something like this
There are 2 interface as input. One is a Web interface, which will accept
HTML tag and plain text by POST method, but by GET
Please anybody I am begging now. Please help...
This is a mess now... I even have no concept on how to start.
I will working on something like this
There are 2 interface as input. One is a Web interface, which will accept
HTML tag and plain text by POST method, but by GET
Excellent. Thanks. I've been trying to install Embperl all day
and my brain was too worn out to figure this out. I'm suspecting
that I don't have some crucial modules installed . . . had list
of dependant modules, but no easy way to discover if they are
there. Thanks again!
-- John
# #
--- Kyle Babich [EMAIL PROTECTED] wrote:
Sorry for bothering everyone again, but could
someone tell me what to change
so that I can import variables from external files
and get them to work in
the current file? (see original message)
Thank you,
Kyle
Copied from perldoc CGI:
-- begin
Sorry for bothering everyone again, but could someone tell me what to change
so that I can import variables from external files and get them to work in
the current file? (see original message)
Thank you,
Kyle
- Original Message -
From: Kyle Babich [EMAIL PROTECTED]
To: [EMAIL
-Original Message-
From: Zysman, Roiy
Sent: Sunday, June 02, 2002 2:40 PM
To: '[EMAIL PROTECTED]'
Subject: regexp help
Hi all
how do i catch the last segment of a path and file name
for example i would like to catch only test.gif in /usr/src/test.gif or
from
At 07:44 2002.06.02, Zysman, Roiy wrote:
-Original Message-
From: Zysman, Roiy
Sent: Sunday, June 02, 2002 2:40 PM
To: '[EMAIL PROTECTED]'
Subject: regexp help
Hi all
how do i catch the last segment of a path and file name
for example i would like to catch only
On Sunday, June 2, 2002, at 04:44 , Zysman, Roiy wrote:
Hi all
how do i catch the last segment of a path and file name
for example i would like to catch only test.gif in /usr/src/test.gif or
from /usr/src/test1/../...//test.gif
well most of use would
use File::Basename;
I am so sorry , I get an output like question
this is question 41miss didnt get grade results
this is question 52 works
you answered a when correct answer is c
it will not split the variable $questions_asked and and query the DB
correctly , maybe parsing the
Ugh.. Forgot to CC in the list...
-Original Message-
I use this little subroutine :
use Socket;
sub nslookup {
my $ipaddress = shift;
my $dnsname =
gethostbyaddr(pack('C4',split(/\./,$ipaddress)),AF_INET);
if ((! defined $dnsname) || ($dnsname eq '')) {
print ***
Hello , My script picks out random elements from an array , but it sometimes
repeats ( which is no good) .. I want to prevent this , Do I delete the
element from the array or is there a better way ? And how do I do
either ?
my mistake here is the code
while($numofques 0)
Jim-Cont Flaherty wrote:
Hello , My script picks out random elements from an array , but it sometimes
repeats ( which is no good) .. I want to prevent this , Do I delete the
element from the array or is there a better way ? And how do I do
either ?
my mistake here is the code
Thank you, John. This code does exactly what I want. Problem is, I only
understand about 30% of what's going on. I can figure out the use of the
hash, some of the pattern matching $1/$2. But can someone elaborate on:
@keys{ qw/P ST U SL D/ } = \( $Proc, $Start, $Url, $Sleep, $Drive );
201 - 300 of 448 matches
Mail list logo