to the list ? Where has everybody gone to ?
Jerry Rocteur
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
Hi,
I came across this problem and thought I'd run it by the list so that perhaps
someone can explain to me what is going on
Given a script with the following hash definition
#!/usr/bin/perl
use warnings;
use strict;
my %sib_master_hoa = (
= [ ' type' ] ,
On 15 Apr 2009, at 13:01, John W. Krahn wrote:
Dermot wrote:
2009/4/14 Chas. Owens chas.ow...@gmail.com:
On Tue, Apr 14, 2009 at 11:49, Rick rich.j...@gmail.com wrote:
is it true that perl will be just as fast as c for reading files ?
for example
cow...@amans:~$ time cat
On Thu, Mar 12, 2009 at 09:20, Jerry Rocteur mac...@rocteur.cc wrote:
Hi,
I'm trying to tie this kind of hash into SDBM
$hash_of_baseline{$hdr_user_name} = { user_name = $hdr_user_name,
passwd = $hdr_user_passwd
Hi,
I'm trying to tie this kind of hash into SDBM
$hash_of_baseline{$hdr_user_name} = { user_name = $hdr_user_name,
passwd= $hdr_user_passwd,
...
...
groups = [ @info_group_names ] };
I can store it but when I
Hi,
I'm trying to tie this kind of hash into SDBM
$hash_of_baseline{$hdr_user_name} = { user_name = $hdr_user_name,
passwd= $hdr_user_passwd,
...
...
groups = [ @info_group_names ] };
I can store it but when I
Hi,
I've just searched the web and tried the archives but I'm not in luck
I'm reading a parameter file:
PARAM=value
PARAM1=value2
Etc. and this works great, but all of a sudden...I need multiple lines..
For example:
login=logname
password=password
ftpfiles=/var/opt/file1, /var/opt/file2,
to do it..
Perhaps a module ?
Any ideas ?
Thanks in advance,
--
_Jerry Rocteur[EMAIL PROTECTED]
_|_|_ http://www.rocteur.cc
(0 0) MSN [EMAIL PROTECTED]
ooO--(_)--Ooo Jabber [EMAIL PROTECTED
John W. Krahn wrote:
Furrfu, kids today. When I starting programming in Perl there was one
man page, no books and no web sites. :-)
John
But Tom Christiansen was there and whenever you ran a UNIX command he
would tell you to do it in Perl and if you didn't know how, he'd show
you even if
Hi,
I'm trying to be a good boy and use strict and warnings ..
The more I do, the more I feel I'm wasting so much time and should
become productive, my code looks full of 'my', I could understand the
requirement inside a sub routing but in the main code it gives me the
willies. My DBI Perl is
On Saturday, Dec 13, 2003, at 18:12 Europe/Brussels, Jerry Rocteur
wrote:
Hi,
I'm trying to be a good boy and use strict and warnings ..
The more I do, the more I feel I'm wasting so much time and should
become productive, my code looks full of 'my', I could understand the
requirement inside
Hi,
I'm trying to be a good boy and use strict and warnings ..
The more I do, the more I feel I'm wasting so much time and should
become productive, my code looks full of 'my', I could understand the
requirement inside a sub routing but in the main code it gives me the
willies. My DBI Perl is
On Tuesday, Dec 2, 2003, at 21:06 Europe/Brussels, John W. Krahn wrote:
Jerry Rocteur wrote:
Hi,
Hello,
I'm trying to use perl for most shell stuff and this is some of the
stuff I'm using for grep ..
perl -ne 'print $ARGV: $_ if /jerry/i ' *
perl -ne 'print if /jer{1,}y/i ' *
perl -ne 'print
Hi,
I'm trying to use perl for most shell stuff and this is some of the
stuff I'm using for grep ..
perl -ne 'print $ARGV: $_ if /jerry/i ' *
perl -ne 'print if /jer{1,}y/i ' *
perl -ne 'print unless /jer{1,}y/i ' *
I'm enjoying this as I can do a lot more than I can with the old egrep
on
Hi,
I'm enjoying writing scripts using DBI, I'm doing it with Sybase and
MySQL and it is a whole lot of fun.
I'd like to stick some stuff on the web and I've started playing with
CGI but I hate this, almost as much as I hate creating HTML docs ;-)
Anyway, I decided not to re-invent the wheel
, a reply goes to the
poster, not the list.
So who is right ?
Regards,
Jerry Rocteur
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Tuesday, Nov 25, 2003, at 20:11 Europe/Brussels, drieux wrote:
On Tuesday, Nov 25, 2003, at 10:29 US/Pacific, Paul Harwood wrote:
[..]
Perfect, thanks!
[..]
There are Clear and Compelling reasons why we
thump on folks about 'perldoc' is your friend.
For the life of me I can never remember
On Saturday, Nov 1, 2003, at 18:40 Europe/Brussels, Jeff Westman wrote:
SilverFox [EMAIL PROTECTED] wrote:
hey guys, i'm trying to grep some data from a log file and getting the
following error. Any ideas???
[EMAIL PROTECTED] perl -e 'grep \Eliminating movie\ update.log |awk
{'print
\$5'}';
On Wednesday, Oct 29, 2003, at 19:43 Europe/Brussels, Wiggins d Anconia
wrote:
Rick Bragg wrote:
Hi,
I want to write a script that will test the contents of a file.
The file being tested will pass only if it contains nothing more
than an
ip address on one line. Does anyone have a sample of
Hi,
I started to read Perl Objects References Modules and I thought, I
better upgrade my Perl modules to make sure I've got the latest in case
the book uses something that I may have that is outdated, so I fired
up cpan and ran r for reinstall recommendations and updated my
modules.. BTW,
Thanks Guys...
Perhaps one day the SMTP protocol will be rewritten to perform checks
on the sender, perhaps one day .
Thanks for all your thoughts..
Jerry
On Wednesday, Sep 17, 2003, at 11:58 Europe/Brussels, zsdc wrote:
Hanson, Rob wrote:
You will probably run into a few issues. First
thoughts,
Jerry Rocteur.
Italy did it first...
http://www.rocteur.cc/geeklog/public_html/
article.php?story=20030914164349518
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I've just used Elias' idea to change a file's content...
Where file name is word:
perl -i -p -e 's/(.)(.*)/$1\L$2/' word
On Friday, Aug 15, 2003, at 23:29 Europe/Brussels, Elias Assmann wrote:
On Fri, Aug 15, 2003 at 02:20:19PM -0700, Scott Taylor wrote:
Any one have or know of a function to
Finally, some usefull stuff in Perl ;-))
On Saturday, Jun 21, 2003, at 18:52 Europe/Brussels, Randal L. Schwartz
wrote:
The code for 2001, 2002, and 2003 is in the thread starting at:
http://www.perlmonks.org/index.pl?node_id=147449
--
To unsubscribe, e-mail: [EMAIL
advanced lists.
-Original Message-
From: Jerry Rocteur [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 04, 2003 3:43 PM
To: [EMAIL PROTECTED]
Subject: More advanced list
Hi,
I'm looking for a Perl list a bit more advanced that this one, you
know, not beginners questions..
I love
Hi,
I'm looking for a Perl list a bit more advanced that this one, you
know, not beginners questions..
I love this list and I'm learning a lot from it but I'm wondering if
there is another list with less hello world or Visual basic is better
than Perl type comments, preferably NO WINDOWS but
.
I would be grateful for workable solutions, note that I don't want GUI
stuff, just simple stuff that will work with ssh/Keaterm in the future.
Thanks very much,
Jerry Rocteur.
Back to the Future
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Tricia,
I just did:
perldoc -q data base
And found:
Found in /System/Library/Perl/pods/perlfaq8.pod
How do I use an SQL database?
There are a number of excellent interfaces to SQL
databases. See the DBD::* modules available from
Hi,
After you guys sent me all those wonderful links yesterday I've become
a one liner freak ;-))
This one is driving me crazy, no matter how I do the unless, it always
ignores it and overwrites an existing file.
I've been struggling with it for hours and have tried all combinations
but just
From man Mail::Sendmail
Look at http://alma.ch/perl/Mail-Sendmail-FAQ.htm for additional info
(CGI, examples of sending attachments,
HTML mail etc...)
Jerry
On Sunday, Dec 15, 2002, at 12:31 Europe/Brussels, Adam Stuckey wrote:
Hello everyone,
Does anyone know of a way to send
Hi,
I like this list very much and I think it is very helpful!
In my work and at home I spend most of my time at a UNIX prompt, either
Linux, Mac OS X, Solaris etc.
I know the Korn shell very well and I can get by with Perl but I find
myself always doing stuff in ksh instead of Perl. I've
Hi,
Anyone know how to write a grep -C in Perl ?
You know, I want to search for a string/regexp in a file and I want to
print the line before and the line after the search string.
I've tried a couple of ways and it takes a really long time, I load the
file in memory, seach for the string,
/Brussels, Jerry Rocteur wrote:
Hi,
Anyone know how to write a grep -C in Perl ?
You know, I want to search for a string/regexp in a file and I want to
print the line before and the line after the search string.
I've tried a couple of ways and it takes a really long time, I load
the file in memory
33 matches
Mail list logo