On Wed, 2002-11-27 at 08:04, Will Mc Donald wrote:
>
> The -w switch to perl is "strict" I believe, which means
> it'll notify you if it thinks anything's amiss.
-w (or "use warnings", I think) is warnings. "use strict" is strict,
and strict it is indeed.
--
redhat-list mailing list
unsubsc
From: "Stone, Timothy" <[EMAIL PROTECTED]>
> Well, this causes a problem ... I keep getting an error reporting:
>
> Insecure ENV{$PATH}...
Does your PATH have ./ in it?
The -w switch to perl is "strict" I believe, which means it'll notify you if it thinks
anything's amiss.
Will.
--
red
On Wed, 2002-11-27 at 08:36, Stone, Timothy wrote:
>
> Gordon... the short answer is that the program came that way. I
> downloaded from the CVS repository just today. It's working without
> the -T switch. It seems to me that the default runtime state of the
> application would correctly impleme
L PROTECTED]]
> Sent: Wednesday, November 27, 2002 11:24
> To: [EMAIL PROTECTED]
> Subject: Re: [OT?] perl -wT error
>
>
> On Wed, 2002-11-27 at 07:52, Stone, Timothy wrote:
> > I'm running a perl program with the "she-bang" : #!/usr/bin/perl -wT
> >
&
On Wed, 2002-11-27 at 07:52, Stone, Timothy wrote:
> I'm running a perl program with the "she-bang" : #!/usr/bin/perl -wT
>
> Well, this causes a problem ... I keep getting an error reporting:
> Insecure ENV{$PATH}...
Did the program come with -wT, or did you just add them? Don't expect
any perl
Stone, Timothy [[EMAIL PROTECTED]] wrote:
> List,
>
> I will concede that this is probably a question better for a perl list... but I'm
>not a regular perl type and thus not a perl list member.
>
> I'm running a perl program with the "she-bang" : #!/usr/bin/perl -wT
>
> Well, this causes a prob
On Wed, Nov 27, 2002 at 10:52:55AM -0500, Stone, Timothy wrote:
>
> I'm running a perl program with the "she-bang" : #!/usr/bin/perl -wT
> Well, this causes a problem ... I keep getting an error reporting:
> Insecure ENV{$PATH}...
This means that $ENV{$PATH} is tainted, that its contents have not
On Wed, Nov 27, 2002 at 10:52:55AM -0500, Stone, Timothy wrote:
[...]
> I'm running a perl program with the "she-bang" : #!/usr/bin/perl -wT
>
> Well, this causes a problem ... I keep getting an error reporting:
>
> Insecure ENV{$PATH}...
[...]
man perlsec
should get you further.
Cheerio,
Th
List,
I will concede that this is probably a question better for a perl list... but I'm not
a regular perl type and thus not a perl list member.
I'm running a perl program with the "she-bang" : #!/usr/bin/perl -wT
Well, this causes a problem ... I keep getting an error reporting:
Insecure ENV{
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: Re: [OT] Perl Telnet script
On Wed, 13 Sep 2000, Michael Butler/CanEast/IBM wrote:
>
> Hi Brett,
> Thanks for the help. At least I know the code works. I can't connect to a
> RedHat 6.2 box or any one of 10 AIX boxes. Int
On Wed, 13 Sep 2000, Michael Butler/CanEast/IBM wrote:
>
> Hi Brett,
> Thanks for the help. At least I know the code works. I can't connect to a
> RedHat 6.2 box or any one of 10 AIX boxes. Interesting that it would work
> for you. I'll try by ip address although I know that I can connect by nam
> its just that I get the response that it is waiting for a command prompt.
>
> Thanks again
> Mike
>
> Bret Hughes <[EMAIL PROTECTED]> on 09/12/2000 08:18:02 PM
>
> Please respond to [EMAIL PROTECTED]
>
> To: [EMAIL PROTECTED]
> cc:
> Subject:
ting for a command prompt.
Thanks again
Mike
Bret Hughes <[EMAIL PROTECTED]> on 09/12/2000 08:18:02 PM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: Re: [OT] Perl Telnet script
Michael Butler/CanEast/IBM wrote:
> Sorry for the off topic question but I'm
Michael Butler/CanEast/IBM wrote:
> Sorry for the off topic question but I'm scratching my head here. I've
> written a perl script to do a telnet to a server and run an arbitrary
> command. Doing a "who" on the server indicates that I do indeed get
> connected. However, after the specified timeou
Michael Butler/CanEast/IBM wrote:
> Sorry for the off topic question but I'm scratching my head here. I've
> written a perl script to do a telnet to a server and run an arbitrary
> command. Doing a "who" on the server indicates that I do indeed get
> connected. However, after the specified timeou
ler/CanEast/IBM [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 12, 2000 5:28 AM
To: [EMAIL PROTECTED]
Subject: [OT] Perl Telnet script
Sorry for the off topic question but I'm scratching my head here. I've
written a perl script to do a telnet to a server and run an arbitrary
comman
y, September 12, 2000 5:28 AM
To: [EMAIL PROTECTED]
Subject: [OT] Perl Telnet script
Sorry for the off topic question but I'm scratching my head here. I've
written a perl script to do a telnet to a server and run an arbitrary
command. Doing a "who" on the server indicates that
Sorry for the off topic question but I'm scratching my head here. I've
written a perl script to do a telnet to a server and run an arbitrary
command. Doing a "who" on the server indicates that I do indeed get
connected. However, after the specified timeout I get "connection timed out
waiting for
= $value;
> }
> .
> .
> .
> }
>
> The result in this case will be two hash values defined:
> $FORM(name) = "Bill Clinton";
> $FORM(address) = "1600 Pennsylvania Apt #4";
>
> Good luck,
> Ron Brinkman
>
> -Orig
ot;1600 Pennsylvania Apt #4";
Good luck,
Ron Brinkman
-Original Message-
From: Bill Carlson [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, September 06, 2000 8:20 AM
To: [EMAIL PROTECTED]
Subject:Re: [OT] perl question [answered]
On Wed, 6 Sep 2000, Bret Hughes wrote:
&
On Wed, 6 Sep 2000, Bret Hughes wrote:
> Thanks for the tips guys. As I was looking at my code, I
> realied that I had not actually tried the combination that I
> posted. What i did try was:
>
> @resarray= split /"\n"/, $resstring;
>
> Which for some reason I can not discern, puts everything
On Wed, 6 Sep 2000, Bret Hughes wrote:
> Thanks for the tips guys. As I was looking at my code, I
> realied that I had not actually tried the combination that I
> posted. What i did try was:
>
> @resarray= split /"\n"/, $resstring;
>
> Which for some reason I can not discern, puts everything
Bret Hughes wrote:
> Please forgive the off topic post but I don't subscribe to a
> perl list, and hate to for the occasional question.
>
> OK, I give up. I know this should be a simple task but I
> cannot get it to work. I am using the perl libwww request
> object to retrieve the results of a
dump the text to a file and do a
od -c file
to see the end of line cahrs (if they exist). they might be DOS end of
line chars.
what kind of processing do you want to do? Sometimes it's even easier to
have the text as one long string anyway.
On Wed, 6 Sep 2000, Bret Hughes wrote:
> Please for
I send you (privately) a sample to look through, if that doesn't
work, (and this may help others with some things too) there is a place
called All Experts at http://www.allexperts.com where you can ask people
questions for free. I used to volunteer there when I had more time. They
> Please forgive the off topic post but I don't subscribe to a
> perl list, and hate to for the occasional question.
Don't neglect the usenet newsgroups. There's always
comp.lang.perl.misc, or possibly comp.infosystems.www.misc
(or you might even try comp.infosystems.www.authoring.cgi,
which ha
Please forgive the off topic post but I don't subscribe to a
perl list, and hate to for the occasional question.
OK, I give up. I know this should be a simple task but I
cannot get it to work. I am using the perl libwww request
object to retrieve the results of a POST. I get the result
back (ht
Back in the old DOS days I coded some PCX routines in which I learned to
lead with the escape character to make the decompress logic easier. So
"BCCCDD" would become "!A4B!C3DD". If the data literally had this
structure, you could compress further by using a numeral as the escape (and
sa
On Fri, 3 Mar 2000, Bret Hughes wrote:
> looks like compression to me and DD < D!2
>
> :)
>
> Bret
>
> Brian wrote:
> >
> > On Fri, 3 Mar 2000, ::--Koshy Kerteya--~!~ wrote:
> >
> > > Hi,
> > >
> > > Suppose I have a string of "BCCCDD"
> > > And I wanna use perl to convert this to A!4BC!
looks like compression to me and DD < D!2
:)
Bret
Brian wrote:
>
> On Fri, 3 Mar 2000, ::--Koshy Kerteya--~!~ wrote:
>
> > Hi,
> >
> > Suppose I have a string of "BCCCDD"
> > And I wanna use perl to convert this to A!4BC!3DD
> > what should I do ?
> > Is there a ready function (grep???) t
On Fri, 3 Mar 2000, ::--Koshy Kerteya--~!~ wrote:
> Hi,
>
> Suppose I have a string of "BCCCDD"
> And I wanna use perl to convert this to A!4BC!3DD
> what should I do ?
> Is there a ready function (grep???) to achieve this ?
yes perl can do this.
their is no built in function to just magic
Hi,
Suppose I have a string of "BCCCDD"
And I wanna use perl to convert this to A!4BC!3DD
what should I do ?
Is there a ready function (grep???) to achieve this ?
Thanks for any help on this!!
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.
On Sun, 13 Feb 2000, Charles Galpin wrote:
> Hi Ed
>
> I find the perl man pages very readable. man perl will list all the other
> perl man pages (they are split up into categories - for example perlfunc
> lists builtin functions, perlre deals with regular expressions etc).
Also try "perldoc"
Hi Ed
I find the perl man pages very readable. man perl will list all the other
perl man pages (they are split up into categories - for example perlfunc
lists builtin functions, perlre deals with regular expressions etc).
As far as your specific task, it sounds like you have the reading part
f
OK, I've got it so far that I'm dynamically creating HTML pages using
CGI/Perl from a comma delimited text file which resides on the ISP server. I
have also learned the query variable and can send values to the pearl script
and have it return matches based on the items. All from scouting documents
>
> Surely someone can beat 9 bytes.. Anyone? Anyone? Beuller? Wait! I can!
>
> #!/usr/bin/perl -pi.bak
> y/\t/|/;
>
> That's 8 bytes. :-P
ok, Beuller here :). try 7
y/\t/|/
The ';' can be excluded if it's a one liner. But who's counting.
> : all conversion is done inplace .. thanks to
On Thu, Dec 02, 1999 at 02:18:37PM +1100, Iain Wade wrote:
: #!/usr/bin/perl -pi
: s/\t/|/g;
Surely someone can beat 9 bytes.. Anyone? Anyone? Beuller? Wait! I can!
#!/usr/bin/perl -pi.bak
y/\t/|/;
That's 8 bytes. :-P
: all conversion is done inplace .. thanks to Charles Galpin for the id
37 matches
Mail list logo