Not up to PAR

Not up to PAR

am 04.06.2007 18:15:41 von jrpfinch

I run the following which produces an a.par file:

pp -p -n DateGen.pm JythonFeeder.pm MetaMonConfigLoader.pm
MetaMonSshConn.pm SetSQL.pm SshConn.pm

I move the a.par file to a different directory and check its content:

bash-2.05# unzip -l a.par
Archive: a.par
Length Date Time Name
------ ---- ---- ----
534 06-04-07 16:59 MANIFEST
212 06-04-07 16:59 META.yml
1172 06-04-07 16:59 script/DateGen.pm
8624 06-04-07 16:59 script/JythonFeeder.pm
1729 06-04-07 16:59 script/MetaMonConfigLoader.pm
6083 06-04-07 16:59 script/MetaMonSshConn.pm
1564 06-04-07 16:59 script/SetSQL.pm
618 06-04-07 16:59 script/SshConn.pm
------ -------
20536 8 files

I execute the following per the manual (or at least what I understand
when I read the manual):

/usr/local/bin/perl -e "use PAR; use lib "a.par"; use SetSQL;"

Alas:

Can't locate script/SetSQL.pm in @INC (@INC contains: apar
CODE(0x817d920) /usr/local/lib/perl5/5.8.8/i86pc-solaris /usr/local/
lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i86pc-solaris /
usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .
CODE(0x817d998)) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

Where am I going wrong please?


--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: Not up to PAR

am 04.06.2007 20:59:10 von Tom Phoenix

On 6/4/07, jrpfinch wrote:

> /usr/local/bin/perl -e "use PAR; use lib "a.par"; use SetSQL;"

> Can't locate script/SetSQL.pm in @INC (@INC contains: apar

Hm. One says "a.par" and one says "apar". That's a clue: Your shell is
confused by those four double quote marks, and it's not doing what you
think you're asking of it. Quoting in the shell has lots of tricks.
Maybe you want something like this?

/usr/local/bin/perl -e 'use PAR; use lib q(a.par); use SetSQL;'

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: Not up to PAR

am 05.06.2007 10:07:23 von jrpfinch

There must be something else obvious that I'm missing:

bash-2.05# /usr/local/bin/perl -e "use PAR; use lib q(a.par); use
SetSql" Parameter to use lib must be directory, not file at -e
line 1
Can't locate SetSql.pm in @INC (@INC contains: a.par CODE(0x817d8f0) /
usr/local/lib/perl5/5.8.8/i86pc-solaris /usr/local/lib/perl5/5.8.8 /
usr/local/lib/perl5/site_perl/5.8.8/i86pc-solaris /usr/local/lib/perl5/
site_perl/5.8.8 /usr/local/lib/perl5/site_perl . CODE(0x817d968)) at -
e line 1.
BEGIN failed--compilation aborted at -e line 1.
bash-2.05# /usr/local/bin/perl -e "use PAR q(a.par); use SetSql"
Can't locate SetSql.pm in @INC (@INC contains: CODE(0x817d8d4) /usr/
local/lib/perl5/5.8.8/i86pc-solaris /usr/local/lib/perl5/5.8.8 /usr/
local/lib/perl5/site_perl/5.8.8/i86pc-solaris /usr/local/lib/perl5/
site_perl/5.8.8 /usr/local/lib/perl5/site_perl . CODE(0x817d94c)) at -
e line 1.
BEGIN failed--compilation aborted at -e line 1.
bash-2.05# pwd
/export/home/jrpf/builder

Also tried the directory that a.par was located in:

bash-2.05# /usr/local/bin/perl -e "use PAR q(/export/home/jrpf/
builder/); use SetSql"
Can't locate SetSql.pm in @INC (@INC contains: CODE(0x817d934) /usr/
local/lib/perl5/5.8.8/i86pc-solaris /usr/local/lib/perl5/5.8.8 /usr/
local/lib/perl5/site_perl/5.8.8/i86pc-solaris /usr/local/lib/perl5/
site_perl/5.8.8 /usr/local/lib/perl5/site_perl . CODE(0x817d9ac)) at -
e line 1.
BEGIN failed--compilation aborted at -e line 1.


--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: Not up to PAR

am 05.06.2007 12:14:48 von jrpfinch

Sorry I'm making a terrible mess of this - the same applies even when
I spell the module correctly i.e. SetSQL:

bash-2.05# /usr/local/bin/perl -e 'use PAR;use lib q(a.par); use
SetSQL'
Parameter to use lib must be directory, not file at -e line 1
Can't locate SetSQL.pm in @INC (@INC contains: a.par CODE(0x817d8f0) /
usr/local/lib/perl5/5.8.8/i86pc-solaris /usr/local/lib/perl5/5.8.8 /
usr/local/lib/perl5/site_perl/5.8.8/i86pc-solaris /usr/local/lib/perl5/
site_perl/5.8.8 /usr/local/lib/perl5/site_perl . CODE(0x817d968)) at -
e line 1.
BEGIN failed--compilation aborted at -e line 1.

bash-2.05# /usr/local/bin/perl -e 'use PAR q(a.par); use SetSQL'
Can't locate SetSQL.pm in @INC (@INC contains: CODE(0x817d8d4) /usr/
local/lib/perl5/5.8.8/i86pc-solaris /usr/local/lib/perl5/5.8.8 /usr/
local/lib/perl5/site_perl/5.8.8/i86pc-solaris /usr/local/lib/perl5/
site_perl/5.8.8 /usr/local/lib/perl5/site_perl . CODE(0x817d94c)) at -
e line 1.
BEGIN failed--compilation aborted at -e line 1.

bash-2.05# /usr/local/bin/perl -e 'use PAR; use lib q(/export/home/
jrpf/builder/); use SetSQL'
Can't locate SetSQL.pm in @INC (@INC contains: /export/home/jrpf/
builder/ CODE(0x817d928) /usr/local/lib/perl5/5.8.8/i86pc-solaris /usr/
local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i86pc-
solaris /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/
site_perl . CODE(0x817d9a0)) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.


--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Leaving this list.

am 05.06.2007 13:47:53 von Ron Goral

I am leaving this list even though I've been here for several years. While I
find the information and ideas exchanged very helpful, I am fully disgusted
by the amount of spam I receive. Over this last weekend, of 172 emails I
received from this list, 52 were spam. That's nearly 1 in every 3. I am told
that I get this spam simply because I sent a couple emails to the list and
that exposed this exclusive address to these spammers. Well, say what you
will, but I feel it is the list manager's job to protect me from this crap.
Since they either can't or won't, I'm signing off and deleting this mailbox.



--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: Leaving this list.

am 05.06.2007 13:55:01 von Jeff Pang

Ron Goral 写道:
> I am leaving this list even though I've been here for several years. While I
> find the information and ideas exchanged very helpful, I am fully disgusted
> by the amount of spam I receive. Over this last weekend, of 172 emails I
> received from this list, 52 were spam. That's nearly 1 in every 3. I am told
> that I get this spam simply because I sent a couple emails to the list and
> that exposed this exclusive address to these spammers. Well, say what you
> will, but I feel it is the list manager's job to protect me from this crap.
> Since they either can't or won't, I'm signing off and deleting this mailbox.
>

Are you sure?I'm pretty sure that I didn't receive even one spam from
this list.If that's the fact for you,maybe yor email provider has too
worse antispam ability then.:)


--
http://home.arcor.de/jeffpang/

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: Leaving this list.

am 05.06.2007 14:11:31 von Paul Johnson

On Tue, Jun 05, 2007 at 07:55:01PM +0800, Jeff Pang wrote:
> Ron Goral 写道:
> >I am leaving this list even though I've been here for several years. While
> >I
> >find the information and ideas exchanged very helpful, I am fully disgusted
> >by the amount of spam I receive. Over this last weekend, of 172 emails I
> >received from this list, 52 were spam. That's nearly 1 in every 3. I am
> >told
> >that I get this spam simply because I sent a couple emails to the list and
> >that exposed this exclusive address to these spammers. Well, say what you
> >will, but I feel it is the list manager's job to protect me from this crap.
> >Since they either can't or won't, I'm signing off and deleting this
> >mailbox.
> >
>
> Are you sure?I'm pretty sure that I didn't receive even one spam from
> this list.If that's the fact for you,maybe yor email provider has too
> worse antispam ability then.:)

I very much suspect that the spam you are receiving comes not from this
list, but directly to the address you use (exclusively?) for this list.
There is very little (read nothing) the list manager can do about this.
You have effectively publicised an email address to the world, and the
spammers have found it.

Might I suggest you install spamassassin, which I have found to be very
good at all but eliminating the spam which ends up in my inbox. (It's
also written in perl.) I also recommend procmail. It would probably be
fairly simple to create a rule to drop all mail to the address you use
here unless it has actually come from the list.

Spam is a problem. It is not going away in the near future. I think
you'll find life much easier if you can find a (partial) solution to the
problem. I'm sure you receive spam on other addresses you use too.
I use my real mail address for everything and receive oodles of spam,
but spamassassin and procmail do an acceptable job for me.

--
Paul Johnson - paul@pjcj.net
http://www.pjcj.net

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: Leaving this list.

am 05.06.2007 15:26:29 von Ovid

----- Original Message ----
From: Paul Johnson

> I very much suspect that the spam you are receiving comes not from this
> list, but directly to the address you use (exclusively?) for this list.

The email address I use for this list is 'publiustemp-beginnerscgi3@yahoo.com'. It has a '3' because I have to periodically change that address and I have unsubscribed before for the very same reason. There's plenty of list management software which publishes archives without revealing the email addresses. I can understand why this is frustrating for folks.

Of course, then spammers could sign up for lists and harvests addresses from email sent, but it would be slower than going through archives.

Hmm, are there any mailing lists out there which offer one-time addresses for each person who sends? If the address were to time out after a while and published archives didn't include addresses, this could make mailing list software more interesting.

Cheers,
Ovid






--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: Leaving this list.

am 05.06.2007 15:37:07 von yitzle

No spam here (from the list), though I hate having to expose my address.
In Gmail, if your email address is "bob@gmail.com144", you get access to
"bob+perl.list@gmail.com145" etc
You could use the "+stuff" to "create" many addresses which can later
be blocked/filtered etc

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Not up to PAR

am 05.06.2007 15:43:39 von jrpfinch

I'm sorry you felt the need to reply to this thread - I don't see what
it has to do with PAR.

Anyway, I got around my problem by using zip instead of pp:

bash-2.05# zip MetaMonPhaseOne.par MetaMon/PhaseOne.pm MetaMon/
PhaseOne/*
adding: mydir/PhaseOne.pm (deflated 84%)
adding: mydir/PhaseOne/moda.pm (deflated 82%)
adding: mydir/PhaseOne/modb.pm (deflated 77%)
adding: mydir/PhaseOne/modc.pm (deflated 76%)
adding: mydir/PhaseOne/modd.pm (deflated 84%)

bash-2.05# /usr/local/bin/perl -e "use PAR q(MetaMonPhaseOne.par); use
mydir::PhaseOne::modb;"
bash-2.05#



--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: Leaving this list.

am 05.06.2007 20:14:11 von mumia.w.18.spam+nospam

On 06/05/2007 06:47 AM, Ron Goral wrote:
> I am leaving this list even though I've been here for several years. While I
> find the information and ideas exchanged very helpful, I am fully disgusted
> by the amount of spam I receive. Over this last weekend, of 172 emails I
> received from this list, 52 were spam. That's nearly 1 in every 3. I am told
> that I get this spam simply because I sent a couple emails to the list and
> that exposed this exclusive address to these spammers. Well, say what you
> will, but I feel it is the list manager's job to protect me from this crap.
> Since they either can't or won't, I'm signing off and deleting this mailbox.
>
>
>

I almost never get spammed to the address I use for this list. Spammer's
don't like to send to e-mail addresses that have certain words in them,
and my address has them both.

Anyway, I must disagree with you when you say it's the list-manager's
responsibility to protect you from spam. No, your mailbox is your
responsibility.

Unsubscribing deleting the mailbox and resubscribing with a better
address is the smart option.

There are several things you can do as part of your responsibility to
protect your mailbox from spam:

1) Use a mailbox that's specifically set up to receive mail only from
this list. It's filters would send any message that doesn't have
"List-Id: " to the trash.

2) Subscribe with an e-mail address that spammers don't like to
spam--like I do.

3) Use a mailreader that has better junk filters such as Mozilla
Thunderbird. You can obtain it from here: http://www.mozilla.com/

4) Unsubscribe.

Whatever you do, you don't use an "exclusive e-mail address" to post to
a publicly accessible mailing list that's archived on the web.


--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: Leaving this list.

am 05.06.2007 21:48:55 von usenet

On Jun 5, 4:47 am, beginner.p...@uponthemountain.com (Ron Goral)
wrote:
> I am leaving this list even though I've been here for several years...
> I am fully disgusted by the amount of spam I receive.

As others have pointed out, the spam is not coming from the list
(though the list has exposed your e-mail address to spammers).

However, FWIW, this list is reflected out to usenet as
"perl.beginners". You can participate via usenet instead of a mailing
list (and that gives you more flexibility in protecting your e-mail
address). However, I don't know if a usenet reply (such as this one)
is reflected back to the mailing list (anyone?)


--
The best way to get a good answer is to ask a good question.
David Filmer (http://DavidFilmer.com)


--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: Leaving this list.

am 06.06.2007 04:09:24 von Chas Owens

On 6/5/07, usenet@davidfilmer.com wrote:
> However, I don't know if a usenet reply (such as this one)
> is reflected back to the mailing list (anyone?)

Yep, it makes it to the list.

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: Leaving this list.

am 06.06.2007 07:03:39 von Alan C

On Tuesday 05 June 2007 04:47, Ron Goral wrote:
> I am leaving this list even though I've been here for several years. While


gmail account does really good at filtering spam into a "spam" folder where
spam is auto deleted once it's 30 days old.

It's what I do, have/use a gmail account for this list. I just use the gmail
with my pop3 email client of preference which for me is the rather powerful
Kmail since Kmail is in KDE and I use the Linux KDE desktop.

Some weeks that go by, 2 or 3 spam get past and make it to my Kmail. Other
weeks, no spam whatsoever makes it to my Kmail. Ocasionally I log onto www
gmail and "report" spam (the very very very few spam that didn't already get
put into the spam folder).
--

And, yes, the newsgroup post made it to the list -- made it to my gmail
account and got to my Kmail on my Linux KDE desktop.

--
Alan.

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: [OT]Leaving this list.

am 06.06.2007 08:36:55 von Jeff Pang

Alan 写道:
> On Tuesday 05 June 2007 04:47, Ron Goral wrote:
>> I am leaving this list even though I've been here for several years. While
>
>
> gmail account does really good at filtering spam into a "spam" folder where
> spam is auto deleted once it's 30 days old.
>

I second with it.Gmail is really good for spam protect,as well as GMX.
I think Yahoo's spam protect is also good,but sometime it's too
agressive to reject legitimate messages.
My email provider earthlink is not good on antispam,I got 2-3 spams or
more for each day.

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: Leaving this list.

am 08.06.2007 14:25:16 von unknown

Post removed (X-No-Archive: yes)

Re: Not up to PAR

am 30.06.2007 16:42:38 von smueller

On Jun 5, 3:43 pm, jrpfi...@gmail.com (Jrpfinch) wrote:
> I'm sorry you felt the need to reply to this thread - I don't see what
> it has to do withPAR.
>
> Anyway, I got around my problem by using zip instead of pp:
>
> bash-2.05# zip MetaMonPhaseOne.parMetaMon/PhaseOne.pm MetaMon/
> PhaseOne/*
> adding: mydir/PhaseOne.pm (deflated 84%)
> adding: mydir/PhaseOne/moda.pm (deflated 82%)
> adding: mydir/PhaseOne/modb.pm (deflated 77%)
> adding: mydir/PhaseOne/modc.pm (deflated 76%)
> adding: mydir/PhaseOne/modd.pm (deflated 84%)
>
> bash-2.05# /usr/local/bin/perl -e "usePARq(MetaMonPhaseOne.par); use
> mydir::PhaseOne::modb;"
> bash-2.05#

Well, the problem is that you were adding the module files as scripts
and not as modules. The following pp command would probably have
worked:

pp -o a.par -p -e "use lib 'somewhere/where/the/module/live'; use
DateGen; use JythonFeeder; use MetaMonConfigLoader; use
MetaMonSshConn; use SetSQL; use SshConn;"

Best regards,
Steffen


--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/