Hey there,
Wasn't sure which mailing list to send this to but maybe someone can
point me in the right direction. When perl is invoked (presumably by
debian's dpkg command, since that's what causes the error), I get this
message:
/usr/bin/perl: relocation error:
/usr/lib/perl5/auto/Locale/get
[EMAIL PROTECTED] wrote:
> Thanks Jeff. I hope to try this out later today. I thought I had the
> solution earlier this morning, but I ran into a problem. I hope this will
> solve it ! Thanks again.
>
> >apples San Antonio Fruit
> >oranges Sacramento Fruit
> >pineappl
On Jan 23, Andrew Gaffney said:
>I don't know Python and I really have no desire to learn it, but I do
>have a decent amount of experience with Perl. Is there a module(s) that
>will let Perl interface with existing Python code/modules? Specifically,
>I want to write a Perl program to use Gentoo Li
wolf blaum wrote:
For Quality purpouses, Ajey Kulkarni 's mail on Saturday 24 January 2004 17:52
may have been monitored or recorded as:
hi,.
hi
i would like to quickly append a string to a variable.
open NEWFH, "> $filename.new" or die "new procmailrc err";
where $filename has /tmp/xyz
Anyth
On Fri, 23 Jan 2004, Levon Barker wrote:
> Except that John's boss is on the list too!
>
No, my boss is not UNIX or even Windows literate. He is a BOSS, not a
GRUNT. He may, from years past, remember some COBOL (remember that?). If I
told him that I was on a Perl list, he would think that I wa
I don't know Python and I really have no desire to learn it, but I do have a decent amount
of experience with Perl. Is there a module(s) that will let Perl interface with existing
Python code/modules? Specifically, I want to write a Perl program to use Gentoo Linux's
Portage API which is written
On Fri, 23 Jan 2004, Dan Anderson wrote:
>
> Give me a little bit of time with a soldering iron, some wire, and a
> laptop connected to your home network and your dishwasher and that can
> be rectified. :-D
>
> -Dan
I don't think that the lady who comes in and does my dishes is going to
let y
On Fri, 23 Jan 2004, Joe Echavarria wrote:
>
> I there,
>
> I need to write a web database application using
> perl, and i need a way that when the users logs into
> the system i download all the information regarding
> to the user to its local computer and make all the
> transaction lo
For Quality purpouses, Ajey Kulkarni 's mail on Saturday 24 January 2004 17:52
may have been monitored or recorded as:
> hi,.
hi
> i would like to quickly append a string to a variable.
> open NEWFH, "> $filename.new" or die "new procmailrc err";
> where $filename has /tmp/xyz
>
> Anything reall
hi,.
i would like to quickly append a string to a variable.
Suppose $filename has "/tmp/xyz after appending i want to
get $filename as /tmp/xyz.NEW.
I'm getting a ? for a . (period).
I'm doing something like
open NEWFH, "> $filename.new" or die "new procmailrc err";
where $filename has /tmp/xyz
Hi,
i ont want to get involved in the religios questions: for the rest:
> use PPM or CPAN.pm? - How can I get PPM to tell me everything that's
> installed?
ppm> query * #gives you the list of installed modules
ppm> properties Mo::Dule #gives you a detailed discriptio of that installed
modul
Hi, I'm considering upgrading from ActiveState Perl 5.6.1 to 5.8.2 (in order to use
the latest Apache and mod_perl, although that's kind of beside the point).
Unfortunately, being a Perl beginner, I've installed CPAN modules by a variety of
methods including:
- manually downloading the .zip from
> Give me a little bit of time with a soldering iron, some wire, and a
> laptop connected to your home network and your dishwasher and that can
> be rectified. :-D
I new that was a gentle list!
I just dont have a dishwasher :(
But given the traffic here I happily dont get much time to use dishes
On Fri, 2004-01-23 at 18:07, wolf blaum wrote:
> > I there,
> Hi,
> > I need to write a web database application using
> > perl, and i need a way that when the users logs into
> > the system i download all the information regarding
> > to the user to its local computer and make all the
> >
--As off Saturday, January 24, 2004 12:07 AM +0100, wolf blaum is
alleged to have said:
I didnt find a way to do the dishes yet, anything else I ever tried
works in perl.
--As for the rest, it is mine.
I'm sure you could do something with LEGO::RCX and a Mindstorms kit...
;-)
Daniel T. Staal
-
Howdy:
I want to move my perl script from Linux to Windows NT.
The Linux script connects to Oracle via the DBI modules I
have installed. I want to do the same on NT, but I'm not
sure if the connection strings / values are the same.
In the linux script:
[snip]
use strict;
use diagnostics;
use DB
> I there,
Hi,
> I need to write a web database application using
> perl, and i need a way that when the users logs into
> the system i download all the information regarding
> to the user to its local computer and make all the
> transaction locally. After that, when the user logs
> out o
On Jan 23, 2004, at 2:47 PM, Eric Walker wrote:
[..]
while {
do something;}
package ONE
package stuff;
1;
package main
__DATA__
data stufff
yes, one can do the reset back to package main.
part of the reason I opt
On Jan 23, 2004, at 1:23 PM, Papo Napolitano wrote:
[..]
To tell me I have to do:
&TextFile::process('file1.txt', '1');
&TextFile::process('file2.csv', '2');
&XMLFile::process('file3.xml', 'this and that');
[..]
Why not try something a bit more vanilla
where one does the
use SomeModu
On Fri, 2004-01-23 at 14:46, drieux wrote:
On Jan 23, 2004, at 1:36 PM, Eric Walker wrote:
[..]
>
> when I tried to add a package to it, I did some test and its not
> reading
> the DATA anymore. Is there a certain order?
[..]
How did you put the package in?
Thanks so much. I've been tinkering around with this all afternoon. I
think that it is there. I'm going to mess around with it more over the
weekend.
I'll let you know how it goes.
Thanks so much, Wolf!
Andrew
-Original Message-
From: wolf blaum [mailto:[EMAIL PROTECTED]
Sent: Friday
Joe Echavarria wrote:
> I there,
>
> I need to write a web database application using
> perl, and i need a way that when the users logs into
> the system i download all the information regarding
> to the user to its local computer and make all the
> transaction locally. After that, when t
I there,
I need to write a web database application using
perl, and i need a way that when the users logs into
the system i download all the information regarding
to the user to its local computer and make all the
transaction locally. After that, when the user logs
out of the system all
On Fri, 2004-01-23 at 14:43, Randy W. Sims wrote:
On 1/23/2004 4:36 PM, Eric Walker wrote:
>
> when I tried to add a package to it, I did some test and its not reading
> the DATA anymore. Is there a certain order?
__DATA__ must be in package main;
#!perl
On Jan 23, 2004, at 1:36 PM, Eric Walker wrote:
[..]
when I tried to add a package to it, I did some test and its not
reading
the DATA anymore. Is there a certain order?
[..]
How did you put the package in?
ciao
drieux
---
#!/usr/bin/perl -w
use strict;
my $foo
On 1/23/2004 4:36 PM, Eric Walker wrote:
when I tried to add a package to it, I did some test and its not reading
the DATA anymore. Is there a certain order?
__DATA__ must be in package main;
#!perl
use strict;
use warnings;
while () {
print;
}
package Test;
sub a {}
1;
package main; # DATA mus
On Jan 23, 2004, at 1:27 PM, Eric Walker wrote:
I have some code I want to add a package in the same file. I already
have some _DATA_ in the file. Currently, the code is not seeing the
_DATA_. How can I add a package in the same file then.
[..]
since the
__DATA__
vice
_DATA_
h
On Fri, 2004-01-23 at 14:34, James Edward Gray II wrote:
On Jan 23, 2004, at 3:27 PM, Eric Walker wrote:
> I have some code I want to add a package in the same file. I already
> have some _DATA_ in the file. Currently, the code is not seeing the
> _DATA_. How can I add a pa
On Jan 23, 2004, at 3:27 PM, Eric Walker wrote:
I have some code I want to add a package in the same file. I already
have some _DATA_ in the file. Currently, the code is not seeing the
_DATA_. How can I add a package in the same file then.
I believe your DATA tag at the end is the problem. It'
I have some code I want to add a package in the same file. I already
have some _DATA_ in the file. Currently, the code is not seeing the
_DATA_. How can I add a package in the same file then.
Thanks
perlknucklehead
example:
while {
do something
}
_DATA_
this
is my
data
section
Hi all,
I have this piece of code:
my @modules = (
'Module1', 'Module2', 'Module3',
'ModuleX', 'ModuleY', 'Blah',
);
my $param1 = "whatever";
my $param2 = 0;
for my $module (@modules) {
$param2++;
eval("require $module");
if ($@) {
print "$module Not found\n";
} else {
eval("&${
Hi,
> As far as your follow up question on the B lines, "only line with a B in
> the beginning in set?," I'm not sure if I understand. If you mean that
> there will only be 1 line per order (set of lines A-T) with a B in the
> first position, you are correct.
yes, thats what I meant.
Sorry abou
Except that John's boss is on the list too!
On Fri, 2004-01-23 at 14:37, John McKown wrote:
> Unfortunately, if the person is writing from work, the disclaimer is
> likely required by his employer. I know that I have a similar one at work.
> And not including it is grounds for termination .
>
>
Unfortunately, if the person is writing from work, the disclaimer is
likely required by his employer. I know that I have a similar one at work.
And not including it is grounds for termination .
The only way around this is to use a personal email, like I do. But he may
need the help for work and
> "Ravi" == Ravi Malghan <[EMAIL PROTECTED]> writes:
Ravi> Hi: I have a existing variable called $router which is
Ravi> "192.168.1.1". I want to create a array which looks
Ravi> like @Counter192.168.1.1.
No, you don't. You really, really don't. You may think you do,
if you're bringing tech
Bob Showalter wrote:
>
> ISO8601 defines a standard, but not everyone follows it. See:
>
> http://www.mcs.vuw.ac.nz/technical/software/SGML/doc/iso8601/ISO8601.html
>
> Excerpt:
>
> "An ordinal date is identified by a given day in a given year. A week is
> identified by its number in a given year.
Timwrote:
>
> At 03:16 PM 1/23/04 +, you wrote:
> >...
> >Why not write it yourself?
> >
> >You need to know:
> >
> >- Which day of the week is the 'first'.
> >
> >- Which was the first week of the year that had four or more days.
> > That's week one.
> >
> >Then do the sums/arithmetic/math/m
Please bottom post...
> True. Since the value(s) for @Counter$router is going
> to be array, manipulating that hash was making things
> complex for me.
>
> If I use a hash (%Counter), what do I have to do such
> that the resulting value for $Counter{$router} is an
> array.
>
You still haven't t
I may have found the answer, I could use
@{$Counter{$router}} . I will try this.
Thanks
Ravi
--- Ravi Malghan <[EMAIL PROTECTED]> wrote:
> True. Since the value(s) for @Counter$router is
> going
> to be array, manipulating that hash was making
> things
> complex for me.
>
> If I use a hash (%Coun
True. Since the value(s) for @Counter$router is going
to be array, manipulating that hash was making things
complex for me.
If I use a hash (%Counter), what do I have to do such
that the resulting value for $Counter{$router} is an
array.
Thanks
Ravi
--- Wiggins d Anconia <[EMAIL PROTECTED]> wrote
> Hi: I have a existing variable called $router which is
> "192.168.1.1". I want to create a array which looks
> like @Counter192.168.1.1.
>
> @Counter.$router does not seem to work.
>
> Thanks in advance
> Ravi
The first question is why? I suspect first that the dots in the name of
the var
Hi: I have a existing variable called $router which is
"192.168.1.1". I want to create a array which looks
like @Counter192.168.1.1.
@Counter.$router does not seem to work.
Thanks in advance
Ravi
__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool
Tim wrote:
> At 03:16 PM 1/23/04 +, you wrote:
>> ...
>> Why not write it yourself?
>>
>> You need to know:
>>
>> - Which day of the week is the 'first'.
>>
>> - Which was the first week of the year that had four or more days.
>> That's week one.
>>
>> Then do the sums/arithmetic/math/ma
At 03:16 PM 1/23/04 +, you wrote:
...
Why not write it yourself?
You need to know:
- Which day of the week is the 'first'.
- Which was the first week of the year that had four or more days.
That's week one.
Then do the sums/arithmetic/math/mathematics/calculations (what /do/
people prefer?)
Paul Kraus wrote:
>
> This is a simple bit of code that scans through a file and determines the
> width setting for columns that will eventually be written out using
> spreadsheet::writexcel. It works fine but I am curious if there is a way to
> do it with map or grep that would be better? This is
> Hello everyone,
>
> I have a little issue that I am sure someone has come across here
> once before and was wondering if I can get some pointers.
>
> I am trying to read and grab values from a "messy" httpd.conf
> file. What I am trying to do is grab the ServerName value and
> Docum
Thanks Jeff. I hope to try this out later today. I thought I had the
solution earlier this morning, but I ran into a problem. I hope this will
solve it ! Thanks again.
"Jeff 'japhy' Pinyan" <[EMAIL PROTECTED]>
01/23/2004 10:34 AM
Please respond to
[EMAIL PROTECTED]
To
[EMAIL PROTECTED]
On Jan 23, [EMAIL PROTECTED] said:
>This newbie needs help with a regex. Here's what the data from a text
>file looks like. There's no delimiter and the fields aren't evenly spaced
>apart.
>
>apples San Antonio Fruit
>oranges Sacramento Fruit
>pineapples Honolulu
* Luinrandir Hernsen <[EMAIL PROTECTED]> [2004-01-23T09:38:12]
> Hallo everyone and thank you for your previous help
>
> in basic the code would be
> Select Case
> ...
> end select
>
> how is this done in perl?
Well, this is a common question. In fact, it's a frequently asked one
with an entry
> Hallo everyone and thank you for your previous help
>
> in basic the code would be
>
> for x=1 to 100
> Select Case
> Case=10,20,30,40,50,60,70,80,90
> then do this
> else
>else do this
> end select
> next x
>
> how is this done in perl?
>
> foreach (10,20,30,40,50,60
Please bottom post.
> 1. You are missing ";"
> Type
> `egrep $name testing.txt`;
> And not
> 'egrep $name testing.txt'
>
> Not the backticks and not quotes ...
>
There's also no reason to use backticks in void context.
perldoc -f system
Please use full paths, error check, etc. if you are goi
Bill Jastram wrote:
>
> When I use the following portion of Perl code:
> __
>
> #!/usr/bin/perl
> # use with:
> # perl IfThenElse tfcfam (Use all of this at the command line!)
>
> use strict;
> use warnings;
>
> print "Search by name: ";
>
> my $name
1. You are missing ";"
Type
`egrep $name testing.txt`;
And not
'egrep $name testing.txt'
Not the backticks and not quotes ...
HTH,
José.
-Original Message-
From: Bill Jastram [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 4:00 PM
To: [EMAIL PROTECTED]
Subject: Use Strict Err
Neill Taylor wrote:
>
> Is their a way in PERL to covert a date to a week number
Why not write it yourself?
You need to know:
- Which day of the week is the 'first'.
- Which was the first week of the year that had four or more days.
That's week one.
Then do the sums/arithmetic/math/mathemati
When I use the following portion of Perl code:
__
#!/usr/bin/perl
# use with:
# perl IfThenElse tfcfam (Use all of this at the command line!)
use strict;
use warnings;
print "Search by name: ";
my $name = ;
'egrep $name testing.txt'
#my(@col1, @c
Hallo everyone and thank you for your previous help
in basic the code would be
for x=1 to 100
Select Case
Case=10,20,30,40,50,60,70,80,90
then do this
else
else do this
end select
next x
how is this done in perl?
foreach (10,20,30,40,50,60,70,80,90);
{
do this;
}
I
Thanks for the information. That was much more than I expected.
You right about the T line. That was a typo. The T is in the firth
position of the last line of each order block.
As far as your follow up question on the B lines, "only line with a B in the
beginning in set?," I'm not sure if I u
> "Neill" == Neill Taylor <[EMAIL PROTECTED]> writes:
Neill> Is their a way in PERL to covert a date to a week number
Neill> Cheers
Neill> Neill
Neill> IMPORTANT NOTICE This email (including any
Neill> attachments) is meant only for the intended recipient. It may
Neill>
On Fri, 23 Jan 2004 13:24:24 -
"Singh, Ajit p" <[EMAIL PROTECTED]> wrote:
> Thanks Owen for your reply.
>
> that was a typo, however i m getting the below error message now..
>
> $t = new Net::Telnet (Timeout => 10,
> Input_log => $inlogfileg,
>
http://slashdot.org/articles/04/01/22/2349200.shtml?tid=126&tid=145&tid=156&;
tid=162&tid=99
Paul Kraus
---
PEL Supply Company
Network Administrator
---
800 321-1264 Toll Free
216 267-5775 Voice
216 267-6176 Fax
www.pelsupply.com
-
Thanks Michael. I'll take a look at those modules and see if my Perl
skills are sufficient to understand how to use them. Thanks again.
EUROSPACE SZARINDAR <[EMAIL PROTECTED]>
01/23/2004 02:47 AM
To
[EMAIL PROTECTED]
cc
Perl Beginners <[EMAIL PROTECTED]>
Subject
RE: Need help comparing lin
Hello everyone,
I have a little issue that I am sure someone has come across here
once before and was wondering if I can get some pointers.
I am trying to read and grab values from a "messy" httpd.conf
file. What I am trying to do is grab the ServerName value and
DocumentRoot value for
Thanks very much Tim. I just did a quick test on my real file and it
worked perfectly.
I definitely still have a lot to learn with both Perl and regex's, so I
really appreciate the explanation as well. Though your script is very
compact, I learned a lot from it. Such as how you initialized
On Fri, 23 Jan 2004 11:45:08 -
"Singh, Ajit p" <[EMAIL PROTECTED]> wrote:
>Timeout => $secs),
> Prompt => 'W9-BAS-01');
What is the ) doing on line 17?
--
Owen
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
Hi Stuart,
Have a look on CPAN (www.cpan.org) there are two wonderfull packages to do
exactely what you are dreaming of :
Algorithm::Diff
Text::ParagraphDiff
Have a nice day
Michel
-Message d'origine-
De: Dan Anderson [mailto:[EMAIL PROTECTED]
Date: vendredi 23 janvier 2004
Hello Friends,
I am trying to get the prompt parameter right for my Telnet connection.
Doesnt seem to be working...
can somebody help me out with this ...
The prompt from my remote host(cisco box) is as shown below:
W9-BAS-01>
$t = new Net::Telnet (Timeout => 10,
On Fri, 23 Jan 2004 09:36:00 +0100
Bjorn Van Blanckenberg <[EMAIL PROTECTED]> wrote:
> let say that the file contains these items (every item is seperated
> with a tab)
>
> one title state name code1 number
> two title2 state2 name2 code2 number2
> one title3 state3 name3
On 01/23/04 03:36, Bjorn Van Blanckenberg wrote:
the thing i'am looking for is that it is sorted by item 5 and writes
back to the file
with an extra line if item 5 is different
A variation on the Swartzian transform: (read from bottom up)
#!/usr/bin/perl
use strict;
use warnings;
print map { $_-
let say that the file contains these items (every item is seperated
with a tab)
one title state name code1 number
two title2 state2 name2 code2 number2
one title3 state3 name3 code3 number3
four title4 state4 name4 code4 number4
six title5 state5 name5 c
On Thu, 22 Jan 2004 17:06:58 -0800
"Larry Guest" <[EMAIL PROTECTED]> wrote:
>
> But rsync does not know how to handle this string, I think when its
> passed to rsync its not text as I see it on the screen. It cant make
> the dir and pukes.
>
> I have seen a bunch of stuff out there for sprintf
On Thu, 22 Jan 2004 19:28:24 +
[EMAIL PROTECTED] wrote:
> Is their a way in PERL to covert a date to a week number
>
Try this;
#!/usr/bin/perl
use Date::Calc qw(Week_Number Week_of_Year);
@t=localtime;
$week = Week_Number($t[5]+1900,$t[4]+1,$t[3]); #Deprecated
print " From Date
71 matches
Mail list logo