Bob, et al --
...and then Bob Showalter said...
%
% David T-G wrote:
% >
% > suddenly occurred to me that I could probably change my
% > record separator
% > from \n to \n\n (a blank line) and grab the whole record that way.
%
% Yes, or set $/ = '' to get "paragraph" mode. That's a little more
Dan Anderson wrote:
>
> He is right. Although I am new to Perl, I have had some very dumb users
> break my PHP scripts by inputting things like "eighteen dollars and 0
> cents" in a form with an explicit $ sign in front.
Sometimes "dumb users" can be quite creative:
href="http://sitefinder.v
No matter how foolproof you make, the fools keep getting smarter.
Chuck
[EMAIL PROTECTED] wrote:
Dan Anderson wrote:
>
> He is right. Although I am new to Perl, I have had some very dumb
users
> break my PHP scripts by inputting things like "eighteen dollars and 0
> cents" in a form with a
Hi
I'm new on this List, and perhaps it is the wrong place.
Here is my problem:
I upgraded my SuSE Linux from version 7.3 (perl 5.6..) to 8.2. (perl
5.8.0).
Now I get the following error:
Can't load '/sw/bin/dislin/perl/Dislin.so' for module Dislin:
/sw/bin/dislin/perl/Dislin.so: undefined symb
On Tue, Sep 16, 2003 at 04:06:28PM +0200, Fischer Ulrich wrote:
> I upgraded my SuSE Linux from version 7.3 (perl 5.6..) to 8.2.
> (perl 5.8.0).
>
> Now I get the following error:
>
> Can't load '/sw/bin/dislin/perl/Dislin.so' for module Dislin:
> /sw/bin/dislin/perl/Dislin.so: undefined symbol:
I have a 12 field 3000 line file (| delimited) and need to check the 7th
entry of each line to see what it is, and based on that it needs to be
written out to a file with a new entry in the 7th spot. I could do it with
a few entries to check, but the permutation is of 253 different choices.
Examp
Any tool available for indentation of perl code in hp unix
**Disclaimer
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged' and 'confidential' and intended for use only by the individual
or entity
> **Disclaimer**
> **
I hate it when people 'Dis' me! :)
>
> Information contained in this E-MAIL being proprietary to
> Wipro Limited is
> 'privileged' and 'confidential' and intended for use only by
> the individual or entity to which
Not tested
While (){
my @record = split /\|/;
if ($record[6]){ #remember arrays start counting at zero
do what ever you want with the data here
}
}
HTH
Paul
-Original Message-
From: LoneWolf [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
Oppps
Should be if ($record[6] ).
If you used it as is if ($record[6]) its just going to see if something
is a there.
-Original Message-
From: Paul Kraus [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 11:02 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: big
Chetak Sasalu M wrote:
Any tool available for indentation of perl code in hp unix
http://perltidy.sf.net/
-ZSDC
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
From: LoneWolf <[EMAIL PROTECTED]>
> I have a 12 field 3000 line file (| delimited) and need to check the
> 7th entry of each line to see what it is, and based on that it needs
> to be written out to a file with a new entry in the 7th spot. I could
> do it with a few entries to check, but the perm
Anyone know how I can set up a bind event to alow a menu button such as
say "File" to show the sub menu? I have F in file underlined and want
to be able to hit like alt-f and get the sub menu to show. Any Ideas or
examples?
EDOG
Hello all,
is the a module or scripting method, in Perl, to strip a PHP file of it's coding
and convert it to a pure static HTML file??
thx's
--
MikeBlezien
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thunder Rain Internet Publishing
Providing Internet Solutions that work!
http://www.thunder-rain.c
On Tuesday, September 16, 2003, at 01:07 PM, Mike Blezien wrote:
Hello all,
is the a module or scripting method, in Perl, to strip a PHP file of
it's coding and convert it to a pure static HTML file??
A simple substitution like
s/<\?php.*??\?>//gs
should do the trick, but I am skeptical that
Thanks George,... we are considering issues you've noted below, and are looking
into that too.
Basically we want to take the PHP file as it would be displayed in the browser
and convert it to a plain static HTML file. It maybe a waste of time tho.
Thx's for the info
--
MikeBlezien
=-=-=-=-=-=-
On Tuesday, September 16, 2003, at 01:32 PM, Mike Blezien wrote:
Thanks George,... we are considering issues you've noted below, and
are looking into that too.
Basically we want to take the PHP file as it would be displayed in the
browser and convert it to a plain static HTML file. It maybe a
Not having much background in PHP, that's what I am trying to figure out, is how
to grab the file after it's been generated by the PHP script, to create the
static HTML file... I know this is not the proper list for this question, but I
was hoping someone on the list may have done this, and coul
Lonewolf wrote:
>
> I have a 12 field 3000 line file (| delimited) and need to check the 7th
> entry of each line to see what it is, and based on that it needs to be
> written out to a file with a new entry in the 7th spot. I could do it with
> a few entries to check, but the permutation is of 25
Mike, et al --
...and then Mike Blezien said...
%
% Hello all,
%
% is the a module or scripting method, in Perl, to strip a PHP file of it's
% coding and convert it to a pure static HTML file??
I speak PHP :-)
Since you want "pure static HTML" I'll figure that you really want the
output of th
"Mike Blezien" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Not having much background in PHP, that's what I am trying to figure out,
is how
> to grab the file after it's been generated by the PHP script, to create
the
> static HTML file... I know this is not the proper list for t
My local pointy haired boss decided I should learn Perl over the weekend
-- specifically to interact with databases and use in CGI programming.
With the job market being what it is I said "Sure" and picked up
O'Reilly's "Programming Perl". After a lot of reading I think I
understand the basic str
Thanks all for the feedback, apologize for going off-topic, it kinda happened
that way while in trying to figure out away to do this.
thx's
--
MikeBlezien
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thunder Rain Internet Publishing
Providing Internet Solutions that work!
http://www.thunder-rain.com
W
Hi,
You mentionned CGI do you need to know perl for Web programming?
If so I suggest two kind of books one to learn PERL and another to integrate
perl in website.
"Dan Anderson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> My local pointy haired boss decided I should learn Per
Howdy:
I'm trying to find the best solution for breaking
out of a loop when editing a list of files.
I have a script that:
* gets a list of files
* opens the files with a 'foreach $f(@list)'
* does a 'while <> { ... } close (FILE)'
The script works, but if I run it, it loops
continually and ed
Perldoc -f last
Perldoc -f next
-Original Message-
From: Johnson, Shaunn [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2003 4:22 PM
To: perl beginners
Subject: breaking the loop
Howdy:
I'm trying to find the best solution for breaking
out of a loop when editing a list of files
From: Dan Anderson <[EMAIL PROTECTED]>
> My local pointy haired boss decided I should learn Perl over the
> weekend -- specifically to interact with databases and use in CGI
> programming. With the job market being what it is I said "Sure" and
> picked up O'Reilly's "Programming Perl". After a lot
Bob Showalter wrote:
Dan Anderson wrote:
I'm learning Perl. Currently i can create some nifty little apps that
scroll across the Linux console. But they look like garbage compared
with a real app. (i.e. Vi or Emacs or anything like that).
Is there a
way to use Perl to output aesthetically go
My best suggestion: consult the list if you're completely stuck, being sure
to articulate your problem, including what you have already tried. Also,
for the best answers, send the appropriate question to the appropriate list.
Go to Perl.org and find the mailing lists for CGI and DBI.
-Origin
Wow! No pressure from above then
I think the Programming Perl book covers some rudimentary use of the CGI &
DBI modules. To create a simple web service, you just need to know how to
bolt it all together.
A couple of websites to look at for CGI:
http://www.webdevelopersjournal.com/columns/cgi1
Hi,
I've been analyzing my SPAM by replying to it lately and find that MOST
email addresses where the SPAM originates do not exist.. Nothing new
here..
What I'd like to do is to write a script that accesses my pop mail,
gets the From: address, verifies it and if it is a valid address,
acc
> Hi,
>
> I've been analyzing my SPAM by replying to it lately and find
> that MOST
> email addresses where the SPAM originates do not exist.. Nothing new
> here..
>
> What I'd like to do is to write a script that accesses my pop mail,
> gets the From: address, verifies it and if it is a v
On Sep 16, Johnson, Shaunn said:
>* gets a list of files
>* opens the files with a 'foreach $f(@list)'
>* does a 'while <> { ... } close (FILE)'
>
>The script works, but if I run it, it loops
>continually and edits (then re-edits) the files.
>I think I could use a lock file to do until I
>get a pa
Shaunn Johnson wrote:
>
> Howdy:
Hello,
> I'm trying to find the best solution for breaking
> out of a loop when editing a list of files.
>
> I have a script that:
>
> * gets a list of files
> * opens the files with a 'foreach $f(@list)'
> * does a 'while <> { ... } close (FILE)'
>
> The scri
Yes it is possible. I forget the algorithm off the top of my head but
you can open up a connection to port 25 to see if a connection is made.
And it would cut down on spam considerably. That is so brilliant I may
do it myself.
-Dan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
You will probably run into a few issues. First you need to fetch the MX
record for the domain before you can even connect. After that you could use
the SMTP verify user command to see if the user exists, but I think you
might find that many SMTP servers will not give you a reliable answer. I
thi
36 matches
Mail list logo