Hi fellows,
I have a funny problem: When installing my OS (Mac OS 10.3), I did not realize that
the 'make' utility was part of the developer tools (which I did not install).
Now neither the CPAN module nor the manual installation process for Perl modules work
on my system - due to the missing '
Please cancel my subscription
Imran Dar
Service Cost Management,
Centrica IS, London Road, Staines.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: 10 January 2004 18:25
> To: [EMAIL PROTECTED]
> Subject: beginners Digest 10 Jan 2004 18
Support wrote:
Hi All
I have this little memory blockage again.
If I 'push' data from a database into an array to look/manipulate the
data and then using the same array name, 'push' data into the array from
another database, the data from the second DB file is added to the data
of the first. How
On Monday 12 Jan 2004 9:48 pm, James Edward Gray II wrote:
> On Jan 12, 2004, at 2:42 PM, Rob Dixon wrote:
> > Hi Gary.
> >
> > I'm quite concerned about this thread. I think we could help you a
> > lot more if we had a better grasp of the problem: instead we've been
> > answering individual questi
I thought this newsgroup was for beginners!
Ramprasad A
I have read several perl books and that is a legitimate question. Why have a
resource like this list if your going persuade people not to use it. I have
ever seen this question asked.
@array = ();# empty array
Now it wouldn't hurt to check out learning perl or programming perl at
http://safar
I am new to the world of PERL and need help to get started. I have the book: "PERL
for Oracle DBA's". But this has not helped me get started. My background is Oracle
as a DBA. I have a good background with SQL*Plus and PL/SQL. On my home PC I have XP
Prof. and Oracle 9.2. My Oracle support
Hi,
I just managed two install my first two modules, among them Text::Iconv. Now while the
iconv utility works fine on my system, the module complains:
dyld: perl Undefined symbols:
/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Text/Iconv/Iconv.bundle undefined
reference to _libiconv expe
Start with http://safari.oreilly.com
Read learning perl. Quick and easy read.
Perl dbi
And programming perl.
Read all of the perldoc FAQ's.
Paul Kraus
---
PEL Supply Company
Network Administrator
> -Original Message-
> From: KENNETH JANUSZ [mailto:[EMAIL PROTEC
A good starting place is :
http://learn.perl.org/
HTH,
José.
-Original Message-
From: KENNETH JANUSZ [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 2:57 PM
To: PERL Beginners
Subject: New to PERL and Need Help
I am new to the world of PERL and need help to get started. I h
> Hi,
>
> I just managed two install my first two modules, among them
Text::Iconv. Now while the iconv utility works fine on my system, the
module complains:
>
> dyld: perl Undefined symbols:
>
/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Text/Iconv/Iconv.bundle
undefined reference to _l
Hi,
Is it possible to write a subroutine in Perl which accepts an open
file handle as parameter? At the moment it seems hopeless, but is it?
Regards
Gabaux
Linux is like a wigwam: no gates, no windows, and an apache
inside!
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
On Jan 13, 2004, at 8:10 AM, Jan Eden wrote:
Hi,
I just managed two install my first two modules, among them
Text::Iconv. Now while the iconv utility works fine on my system, the
module complains:
dyld: perl Undefined symbols:
/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/Text/Iconv/
KENNETH JANUSZ <[EMAIL PROTECTED]> asked:
> Sent: Tuesday, January 13, 2004 2:57 PM
> I am new to the world of PERL and need help to get started.
[...]
> Any help with books for beginners or web sites will be
> greatly appreciated. Keep it very simple.
Go grab ActiveState's Perl port for window
Yes it is !
C:\>perldoc -q "How do I pass filehandles between subroutines"
Found in C:\Perl\lib\pod\perlfaq5.pod
How can I make a filehandle local to a subroutine? How do I pass
filehandles between subroutines? How do I make
an array of filehandles?
As of perl5.6, open() autovivifies file
> On Jan 13, 2004, at 8:10 AM, Jan Eden wrote:
>
> > Hi,
> >
> > I just managed two install my first two modules, among them
> > Text::Iconv. Now while the iconv utility works fine on my system, the
> > module complains:
> >
> > dyld: perl Undefined symbols:
> > /Library/Perl/5.8.1/darwin-th
I'm having problems with the Mysql.pm module. When I have the two
statements
$dbh = Mysql->connect($host,$database,$username,$password);
my $sth = $dbh->query("insert into users values(NULL, 'Jon',
'Sterling', 'Doe', 24, '[EMAIL PROTECTED]')");
My problem is when I run it as root it works fine,
I am somewhat confused as to when to prototype a subroutine. Under the
tips section Programming Perl makes the following points:
1. Prototyping can lead to inlined functions which increases the speed
of commonly used functions. Prototype when you can.
2. As soon as somebody use
On Jan 13, 2004, at 6:24 AM, Gary Stainburn wrote:
[snip background]
3) As everything else will be created from the Trainset instance, they
will
have a link to it. This will be stored as $self->{_OWNER}. This will
then
(hopefully) provide quick direct access to the Trainset variables
(were Cla
I'm nearly finished with this book (definitely excellent book!). Some items I need to
review again (expressions will take some work). Afterwards I plan on moving upward
and onward in perl. I'm curious if Oreilly's "Programming Perl" or "Perl Cookbook"
would be good to jump into. Or is there
James Edward Gray II wrote:
>Since you mentioned earlier that you forgot to install the developer
>tools, let me just mention that I've ran into problems building things
>without them, because of missing header files and the like. I'm not
>saying that's your problem, I'm just sharing inform
Hi All!
I am running a multithread program and threads may stuck. I need to be able to
terminate those threads after some defined period of time. I can't use a detach
because I don't want to leave this thread run forever and I can't use join because the
thread never ends. Any ideas? Please help
> I'm nearly finished with this book (definitely excellent book!). Some
items I need to review again (expressions will take some work).
Afterwards I plan on moving upward and onward in perl. I'm curious if
Oreilly's "Programming Perl" or "Perl Cookbook" would be good to jump
into. Or is there
>> 2) What I do with the data will obviously depend on the program using
>> my
>> object, but would probably be things like update the screen (Term, TK,
>> Win32), or to send instructions to a control system (e.g. throw points
>> on
>> model railway).
>>
>> What is the best method to pass control
Hi-
I subscribed to the beginners digest and receive a list of individual email
attachments (~50) but none of them open with text...
This is not the usual format for a digest listserve...
can anyone debug this problem.
many thnaks.
Irina Campbell
Once you get the AS PERL working, use ppm or ppm3 (Perl Package Manager) to
get DBI/DBD modules (DBD::Oracle) on your system. Connect and you're on
your way. There is a book on this subject that will help,
I've always found this link to help describe the length of the tunnel...
http://www.yapc.o
On Tuesday 13 Jan 2004 3:04 pm, James Edward Gray II wrote:
> On Jan 13, 2004, at 6:24 AM, Gary Stainburn wrote:
>
> [snip background]
>
> > 3) As everything else will be created from the Trainset instance, they
> > will have a link to it. This will be stored as $self->{_OWNER}. This will
> > then
> On Tuesday 13 Jan 2004 3:04 pm, James Edward Gray II wrote:
> > On Jan 13, 2004, at 6:24 AM, Gary Stainburn wrote:
>
> I could reverse the parameter sequence so that the block type is
first, then
> allow multiple block names to be specified, thus reducing the work
involved.
> I'll probably
On Jan 13, 2004, at 10:39 AM, Gary Stainburn wrote:
On Tuesday 13 Jan 2004 3:04 pm, James Edward Gray II wrote:
On Jan 13, 2004, at 6:24 AM, Gary Stainburn wrote:
3) As everything else will be created from the Trainset instance,
they
will have a link to it. This will be stored as $self->{_OWNER}
On Tuesday 13 Jan 2004 4:39 pm, Gary Stainburn wrote:
> On Tuesday 13 Jan 2004 3:04 pm, James Edward Gray II wrote:
> > On Jan 13, 2004, at 6:24 AM, Gary Stainburn wrote:
[snip]
> > > 1) I've put:
> > >
> > > use base (Trainset::Trains Trainset::Track Trainset::Signals
> > > Trainset::Levers Tr
Hi,
i am using the Getopt::Std package in my code.
use Getopt::Std;
getopts('s:');
$a = $opt_s
this is how i run my program from command line "
> my_program.pl -s pattern
now if "pattern" is something like abcd[12] how do i
make my program accept the index 12 as a part of the
string for o
Thanks, Gary and James, for this input: there's something to work with now.
Beware though, Gary, you may have to steel yourself to throw away a lot
of what you've written! Also, you've chosen something quite complex
to model as an introduction to OO, so don't expect to make rapid
progress!
All of
Hello folks,
If I encode a file with MIME::Base64 with the following script, encode_base64.pl. The
question is; how do I decode
the file? I use the following script, decode_base64.pl to decode back to the original
source but that did not work because
they are different from each other.
Th
> "Wiggins" == Wiggins D Anconia <[EMAIL PROTECTED]> writes:
Wiggins> The two above overlap a good deal.
The Alpaca and the Panther overlap in that they cover some similar
ground. But the Alpaca is designed to be a step-by-step tutorial: in
fact, it's a transcript of the course we teach (bo
Hello all,
testing the use of DBI. Having a problem (highlighted in red) with using
"@$_" as the topic. When I use @row the program writes records as
expected to test.txt but when I use the topic it only writes ...
""
""
""
in the file. I have reread documentation to see if I am using @$_
co
On Jan 13, 2004, at 11:32 AM, Gary Stainburn wrote:
I'm starting to confuse myself again now.
Yes, you are.
I've got it into my head that I'm going to have an instance of
Trainset as a holder to contain track, signals etc, so I'll do
something line:
my $tset=Trainset->new;
$tset->add_track('T
Joe Stuart wrote:
>
> I'm having problems with the Mysql.pm module. When I have the two
> statements
>
> $dbh = Mysql->connect($host,$database,$username,$password);
> my $sth = $dbh->query("insert into users values(NULL, 'Jon',
> 'Sterling', 'Doe', 24, '[EMAIL PROTECTED]')");
You don't need to esc
Dan Anderson wrote:
>
> I am somewhat confused as to when to prototype a subroutine. Under the
> tips section Programming Perl makes the following points:
>
> 1. Prototyping can lead to inlined functions which increases the speed
> of commonly used functions. Prototype when you can.
>
> 2. As s
> > "Wiggins" == Wiggins D Anconia <[EMAIL PROTECTED]> writes:
>
> Wiggins> The two above overlap a good deal.
>
> The Alpaca and the Panther overlap in that they cover some similar
> ground. But the Alpaca is designed to be a step-by-step tutorial: in
> fact, it's a transcript of the cou
On Jan 13, 2004, at 12:05 PM, Rob Dixon wrote:
use base (Trainset::Trains Trainset::Track Trainset::Signals
Trainset::Levers Trainset::Boxes);
inside Trainset.pm. Is this the correct way to call in the other
classes?
No it's not.
use Trainset::Trains;
use Trainset::Track;
use Trainset::Signals;
> Hi,
> i am using the Getopt::Std package in my code.
>
>
> use Getopt::Std;
>
> getopts('s:');
>
> $a = $opt_s
>
>
> this is how i run my program from command line "
>
> > my_program.pl -s pattern
>
> now if "pattern" is something like abcd[12] how do i
> make my program accept the in
On Jan 12, 2004, at 11:34 PM, Jan Eden wrote:
[..]
Now here are my questions (finally):
* Can someone on OS X put a copy of 'make' somewhere for me to
download?
* Is there anything else but the program itself to install?
* Which is the standard path for make? (/usr/bin, I would guess, but I
am n
On Jan 13, 2004, at 7:11 AM, [EMAIL PROTECTED] wrote:
[..]
I'm nearly finished with this book (definitely excellent book!).
Some items I need to review again (expressions will take some work).
Afterwards I plan on moving upward and onward in perl. I'm curious
if Oreilly's "Programming Perl" or "P
>
> Hello folks,
>
> If I encode a file with MIME::Base64 with the following script,
encode_base64.pl. The question is; how do I decode
> the file? I use the following script, decode_base64.pl to decode back
to the original source but that did not work because
> they are different from each o
Put quotes around your arguments. Use single quotes if you are not doing
variable substitution, and double quotes if otherwise.
That is:
my_program.pl -s 'will[1]' "$will"
__
William Ampeh (x3939)
Federal Reserve Board
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
On Jan 13, 2004, at 6:59 AM, Dan Anderson wrote:
[..]
1. Prototyping can lead to inlined functions which increases the
speed
of commonly used functions. Prototype when you can.
2. As soon as somebody uses your function in a way it wasn't supposed
to be used, your program can explode. Never p
Randal L. Schwartz wrote:
>> "Wiggins" == Wiggins D Anconia <[EMAIL PROTECTED]> writes:
>
>Wiggins> The two above overlap a good deal.
>
>The Alpaca and the Panther overlap in that they cover some similar
>ground. But the Alpaca is designed to be a step-by-step tutorial: in
>fact, it's a tr
On a Linux system how can I remove the 5.6 rpm and then install the 5.8.2
from source and still maintain dependencies? If something is looking for
perl how do I make sure that it upgrades correctly?
Paul Kraus
---
PEL Supply Company
Network Administrator
--
On Jan 13, 2004, at 1:02 PM, Paul Kraus wrote:
On a Linux system how can I remove the 5.6 rpm and then install the
5.8.2
from source and still maintain dependencies? If something is looking
for
perl how do I make sure that it upgrades correctly?
This is probably a bit odd,
but why not skip the p
Hi,
does anyone have perl code to remove logfiles in log
fold by date on wind 2000. I need to remove yeaterday
and before yesterday logfiles on win 2000.
your help is great appreciate.
thanks
jack
__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Swee
Hello folks,
If I encode a file with MIME::Base64 with the following script, encode_base64.pl. The
question is; how do I decode the file? I use the following script, decode_base64.pl
to
decode back to the original source but that did not work.
Thank you...
--
On Tuesday 13 January 2004 6:38 pm, James Edward Gray II wrote:
> On Jan 13, 2004, at 12:05 PM, Rob Dixon wrote:
> >>> use base (Trainset::Trains Trainset::Track Trainset::Signals
> >>> Trainset::Levers Trainset::Boxes);
> >>>
> >>> inside Trainset.pm. Is this the correct way to call in the other
On Tuesday 13 January 2004 6:17 pm, James Edward Gray II wrote:
> On Jan 13, 2004, at 11:32 AM, Gary Stainburn wrote:
> > I'm starting to confuse myself again now.
>
> Yes, you are.
But hopefully lifting the vail a little at last.
>
> > I've got it into my head that I'm going to have an instance
On Jan 13, 2004, at 3:44 PM, Gary Stainburn wrote:
Did that make any sense?
Yes. While driving home I think I've discovered my biggest conceptual
block.
The idea of a Trainset class is as you know new. The idea was
originally to
have all code relating to track in the Trainset::Track class.
Wha
Hello,
I have been able to use redirects with cgi.pm as long
as the redirect is the only thing in the script.
i.e.
#!/usr/bin/perl
use CGI qw(:standard);
print redirect('http://google.com/');
but what i need to do is print a bunch of html , have perl do
a few jobs on my system, and then do a r
On Jan 13, 2004, at 10:33 AM, Rob Dixon wrote:
[..]
Like I said, read what others have to say and adopt your own policy,
but be consistent.
Rob
My only complaint is that the consistency
position should be consistent within the
context - either in an archeological sense -
namely that if one finds co
I'm getting an error with a mod_perl script I'm working on that says
this:
error:
[Tue Jan 13 10:59:17 2004] [error] 25297: ModPerl::Registry:
Image::Imlib2 load error: No loader for file format at find.pl line 19.
The script runs fine when it is at the command line, but when I run it
from th
On Jan 13, 2004, at 10:12 AM, Duan Toh wrote:
[..]
while ($sel->fetchrow_array) {
print OUTPUT '"';
print OUTPUT join '","', map {$_||0} @$_;
print OUTPUT '"',"\n";
}
[..]
you might want to go back
Hi,
I have a file that appears to be somewhat sorted, but is not sorted
according to the traditional unix sort. I'll give some examples, and if
anyone recgonizes the way in which the file is sorted, please let me
know. Also, since I may have to write a comparator function for use on
this "sort
> "Jdavis" == Jdavis <[EMAIL PROTECTED]> writes:
Jdavis> I have been able to use redirects with cgi.pm as long
Jdavis> as the redirect is the only thing in the script.
First, this should be in the perl-cgi-beginners list instead of this list.
Jdavis> i.e.
Jdavis> #!/usr/bin/perl
Jdavis> u
Hi Shawn,
Thanks for your script. I tried it out, and its not exactly right, so
the data in my file appears not to conform to the numeric ordering.
Your numeric sort gets all the examples I gave right except Set 5. The
original ordering in the file is:
0908
09088122595
09088122595
0909-114
whe
>
>
> > Hi,
> > i am using the Getopt::Std package in my code.
> >
> >
> > use Getopt::Std;
> >
> > getopts('s:');
> >
> > $a = $opt_s
By the way, you don't really need to assign the $opt_x variables to a new
variable. $opt_s will be persistant, unless you run getopt again, which would
b
62 matches
Mail list logo