stuff to see what would happen. If any of you have
suggestions or corrections, I’d be grateful!
Rick Triplett
FIRST SUBROUTINE:
sub email_analysis {# to LibertyLearning for score posting and analysis
my $n_max = shift;
my @analysis = define_analysis($n_max);
my $sub
because I’m a
high school teacher rather than a web professional!
Thanks in advance!
Rick Triplett
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
l work (perhaps all will work), but I want to know what
is considered best practice and why.
Perhaps there’s even a whole better way to approach this! I will be grateful to
chew over any and all comments you experienced people send me. Thanks!
Rick Triplett
--
To unsubscribe, e-mail: beginners-un
statement was reached, but I
don’t know if I can make the brewers wait longer; and even if I could, the
processing should not take this long. Being a newbie, I have quickly run out of
ideas to check. Any suggestions would be appreciated! — Rick Triplett
. . . SNIP (first hundred lines not shown
gt;> curves I take on!
>>
>> Still, if anyone can point me to a “beginners guide” to using CPAN, I’ll
>> take a look at it.
>>
>> Rick Triplett
>
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
a high school teacher who dabbles in perl. And at age 74 I have to be choosy
about which learning curves I take on!
Still, if anyone can point me to a “beginners guide” to using CPAN, I’ll take a
look at it.
Rick Triplett
> On Oct 29, 2018, at 3:52 PM, Uri Guttman <ma
As a novice in perl I realize that it’s a bit presumptuous for me to attempt
references and complex data structures. But I had a need and gave it a shot — a
failing shot. I’ve been fiddling with my failure, almost mindlessly, all
weekend; now I need some help.
Below is the template segment I am
globals to pass data. I’ve
come across this suggestion in the past but failed to appreciate it. Now I see
that I have a lot of rewriting to do. An uphill job, but it needs to happen!
Rick
> On Sep 9, 2018, at 1:30 PM, Uri Guttman wrote:
>
> On 09/09/2018 02:11 PM, Rick T wrote:
>&g
I don’t know whether my difficulty is with my perl or with my logic; but either
way I need a fresh mind on this.
If I test the subroutine by feeding it a file name that does not exist in any
format, I expect it to die — but it does not.
Any good ideas will be greatly appreciated!
Rick
sub
on how I can learn more about
CGI and how to deal with it. This book has been extremely valuable to me, but
even I can see that some of its guidance is a bit creaky! — Rick
sub get_form_data {
my $query = q{}; # Empty string
my @name_value_pairs;
if ( read( STDIN, $query, $ENV
4.
I’ve googled this error and think (ha!) I understand it, but though I’ve tried
many changes, I cannot make the error go away. I need the advice of folks who
are way ahead of me!
Rick Triplett
use warnings;
use strict;
use DB_File; # module for Berkeley DBM w/ DB_HASH file type
mit double
quotes.
Thanks!
Rick Triplett
e trailing digits
}xms; # Perl Best Practices
$student_surname = $1;
my $hyphen = $2;
$student_number = $3;
die "$student_surname, $hyphen, $student_number”;
Rick Triplett
; # autoflush output
print "Content-Type: text/html\n\n";
my $tt = Template->new(
ect.
Many thanks!
Rick Triplett
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
Uri,
Thank you SO much for your helpful comments! You didn’t just solve THIS
problem, you’ve helped me in my future programming!
Rick
> On Jan 19, 2018, at 11:56 AM, Uri Guttman wrote:
>
> On 01/19/2018 12:44 PM, Rick T wrote:
>> The subroutine below produces the followin
The subroutine below produces the following syntax errors:
syntax error at /big/dom/xexploringmyself/cgi-bin/register.cgi line 71, near
""Can't change directory to $progress_hash{student_id}: $!";"
syntax error at /big/dom/xexploringmyself/cgi-bin/register.cgi line 73, near ")"
I've tried adding
The following code apparently is not doing what I wanted. My intention was to
confirm that the general format of $student_id was this: several uppercase
letters followed by a hyphen followed by several digits. If not, it would
trigger the die. Unfortunately it seems to always trigger the die. F
Many thanks to Andy Bach, Janek Schleicher, Diab Jerius, and David Precious for
you helpful comments on my post. My problem is solved and, more importantly, I
learned important stuff from all of you!
Rick Triplett
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands
name="FormName">
Again I’d like to declare the server at the top of the code. I realize this is
not strictly speaking a Perl question, but maybe there is a Perl solution?!
Many thanks for whatever suggestions you have!
Rick Triplett
first: I'm almost 70). I may not understand much about
programming, but at least it's fun!
Rick
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
grateful for whatever you offer!
Rick
#!/usr/bin/perl
# student_poser3
use strict;
#use warnings; commented out because one of my comparisons issue a warning
use CGI; $CGI::DISABLE_UPLOADS = 1; $CGI::POST_MAX = 102_400;
use DB_File; # module for Berkeley DBM w/ DB_HASH file type
use Fcntl qw
Many thanks to Scott, Shawn, Paul, Jenda, and Uri. I've learned
something from each of you, and appreciate your taking the time to help!
Rick
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
le way to do this. But several
days of experimenting have been unsuccessful.
Advice appreciated!
Rick Triplett
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
Also, Is anybody using this module anymore? Is there a replacement?
Thanks!
Rick
--
This message has been scanned for viruses and
dangerous content by Green Mountain Network, and is
believed to be clean.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e
Hi,
As far as I can tell, this perl module returns bogus numbers that have
nothing to do with the real prices from UPS and should be done away with
or fixed. If you use this, beware, check out your prices, will all be
low.
Rick
--
This message has been scanned for viruses and
dangerous
below is working code but is there way to shorten this code in more
perlish way?
my($DAY, $MONTH , $YEAR ) = (localtime)[3,4,5];
my $day = sprintf("%02d",$DAY);
my $month = sprintf("%02d", ($MONTH + '1'));
my $year = sprintf("%04d", ($YEAR + '1900'));
my $current_dir = join('', $year, $mont
Chas. Owens wrote:
On Tue, May 12, 2009 at 00:08, Rick wrote:
snip
It's very weird. I did verify that it is numeric values that I am
comparing... also i am using warnings and strict as well and i get no
warnings.
can't figure out what's wrong.
snip
In cases like thi
John W. Krahn wrote:
Rick wrote:
John W. Krahn wrote:
Rick wrote:
should this not work?
Based upon the code presented, it looks like the code it correct.
I am finding out that Length is *NOT* being sorted correctly
numerically...
Of course we don't know the data stored in %in_arra
John W. Krahn wrote:
Rick wrote:
should this not work?
Based upon the code presented, it looks like the code it correct.
I am finding out that Length is *NOT* being sorted correctly
numerically...
Of course we don't know the data stored in %in_array and %in_array_c
so it is hard t
should this not work?
I am finding out that Length is *NOT* being sorted correctly numerically...
for my $d ( sort { $in_array{$b} <=> $in_array{$a} } keys %in_array ){
printf "SERVER:%-20s %-20s\n",$d,$in_array{$d};
for my $key30 ( keys %{ $in_array_c{$d} } ) {
for my
is it true that perl will be just as fast as c for reading files ?
for example
will below be as fast as if it were written in c?
I said this because on random posts, I see that perl is optimized to
work w/ text files and it should be as fast as perl
open FILE, $file or die "bad filename: $!"
Chas. Owens wrote:
On Mon, Apr 13, 2009 at 15:39, Rick wrote:
perl -lane' print "$F[0] ", "$F[4]" , " $F[5]";'
Is there anyway to incoporate $\ <- output record separtor to do this
instead of printing out w/ manual spaces beteween the varia
perl -lane' print "$F[0] ", "$F[4]" , " $F[5]";'
Is there anyway to incoporate $\ <- output record separtor to do this
instead of printing out w/ manual spaces beteween the variables?
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@pe
this quick line or 2?
Thanks!
Rick Bragg
--
This message has been scanned for viruses and
dangerous content by Green Mountain Network, and is
believed to be clean.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
Chas. Owens wrote:
On Sat, Mar 7, 2009 at 11:53, Rick wrote:
__test-code__
use warnings;
use strict;
my $test_s = 'hi [how are you]';
my $data;
if ( $test_s =~ m/\[.+\]/ ) {
$data = $1;
}
__END__
is there easier way to do this
I was hoping something like this would w
__test-code__
use warnings;
use strict;
my $test_s = 'hi [how are you]';
my $data;
if ( $test_s =~ m/\[.+\]/ ) {
$data = $1;
}
__END__
is there easier way to do this
I was hoping something like this would work
$data = ($test_s =~ m/\[.+\]/); but does not work.. I tried @data too
but stil
Owen wrote:
I have a perl script on remote server.
I want to launch a expect script(none perl) from local server with
arguments and launch perl script on remote server.(arguments will be
feed into perl script)
I don't know how long perl script will run but I want to scp(using
expe
I have a perl script on remote server.
I want to launch a expect script(none perl) from local server with
arguments and launch perl script on remote server.(arguments will be
feed into perl script)
I don't know how long perl script will run but I want to scp(using
expect script from local) the
Jim Gibson wrote:
On 2/27/09 Fri Feb 27, 2009 8:33 AM, "Rick"
scribbled:
Jim Gibson wrote:
On 2/26/09 Thu Feb 26, 2009 3:53 PM, "John W. Krahn"
scribbled:
I get "Use of uninitialized value in numeric gt (>) at ..." for that, since
@max is und
Jim Gibson wrote:
NO it is not. The way to diagnosis this type of problem is to look at the
contents of your variables, either by stepping through your program with a
debugger or by adding print statements to your program. If you do that, you
will find that the @next array is not assigned the key
Jim Gibson wrote:
On 2/26/09 Thu Feb 26, 2009 3:53 PM, "John W. Krahn"
scribbled:
I get "Use of uninitialized value in numeric gt (>) at ..." for that, since
@max is undefined the first time through the loop. Here is a version using
each that doesn't produce that error. It uses the fact th
Rick wrote:
trying out getting lasrgest key(by value) but below is not working...
help please.
my %files=%{{"one" =>"1", "thiry" =>"30", "four" =>"4", "never"
=>"997", "forever" =>
trying out getting lasrgest key(by value) but below is not working...
help please.
my %files=%{{"one" =>"1", "thiry" =>"30", "four" =>"4", "never" =>"997",
"forever" =>"11", "five" =>"5"}};
my $max;
print join(" ",keys %files),"\n";
=pod
grep($max=($files{$_} > $max )? $_ : $max,keys %fil
On Tue, 2008-06-17 at 00:29 +0200, Dr.Ruud wrote:
> Rick Bragg schreef:
> > Dr.Ruud:
> >> Rick Bragg:
>
> >>> Is there a reason why the reply-to on this mailing list is set to go
> >>> back to the poster and not back to the list? I think its be
On Mon, 2008-06-16 at 22:25 +0100, Rob Dixon wrote:
> Rick Bragg wrote:
> >
> > Thanks again, Rob,
> >
> > I'm afraid that this issue is still not going away,
>
> It won't go away at a stroke. You are installing a huge Perl library with
> external
On Mon, 2008-06-16 at 22:00 +0200, Dr.Ruud wrote:
> Rick Bragg schreef:
>
> > Is there a reason why the reply-to on this mailing list is set to go
> > back to the poster and not back to the list? I think its best for a
> > list like this to keep all the messages on t
On Mon, 2008-06-16 at 20:47 +0100, Rob Dixon wrote:
> Rick Bragg wrote:
> > On Mon, 2008-06-16 at 17:26 +0100, Rob Dixon wrote:
> >> Rick Bragg wrote:
> >>> On Mon, 2008-06-16 at 16:12 +0100, Rob Dixon wrote:
> >>>> Rick Bragg wrote:
> >>>&
...
Thanks
Rick
--
This message has been scanned for viruses and
dangerous content by Green Mountain Network, and is
believed to be clean.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On Mon, 2008-06-16 at 17:26 +0100, Rob Dixon wrote:
> Rick Bragg wrote:
> > On Mon, 2008-06-16 at 16:12 +0100, Rob Dixon wrote:
> >> Rick Bragg wrote:
> >>> Hi,
> >>>
> >>> I am fairly new at using cpan, Here is an error that I got when t
On Mon, 2008-06-16 at 16:12 +0100, Rob Dixon wrote:
> Rick Bragg wrote:
> > Hi,
> >
> > I am fairly new at using cpan, Here is an error that I got when trying
> > to install Tie::Watch.
> >
> > cpan[15]> install Tie::Watch
t/.cpan/build/Tk-804.028-r9jDlm
'/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 512, won't make
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
what should I do to install Tie::Watch?
T
re to start would be greatly appreciated.
Thanks
Rick
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
I shared this thread with the support people at Bare Bones Software.
This was their reply:
Hi Rick,
TextWrangler always uses \r (ASCII 13, the canonical carriage return)
internally, but you can tell it to use any desired representation on
disk for the line endings: Mac (CR), Unix (LF), or
fied the
line endings as \r.
My perplexities are these: Why did TextWrangler show \r for the line
endings after I had save them for Unix (\n)? And, why did Perl have
difficulty with the line endings in the first place? Perl is supposed
to be sensitive to the operating system it is running on and "do the
right thing."
Rick Triplett
d help. Or maybe I need a whole new
approach? I can try this out, but it will take weeks to get enough
results to see if it works. Any suggestions would be greatly
appreciated.
Rick Triplett
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
rial (that Dermot has read) available at
http://www.printaform.com.au/clients/pdfapi2/ (.. and yes, I know
there's a broken link)
Cheers!
Rick Measham
#!/bin/perl
use PDF::API2;
use Image::Magick;
use strict;
use warnings;
# These mean it's much easier to work with dimensions as 5mm
versions for a month or two, but it seems to work ok.
If you don't do it often, you can rename the directories by hand. If you
need to switch regularly, the batch file is a good way to go.
Regards,
Rick Evans
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
dule - I'm
not allowed to)?
Thanks,
Rick
remove **NOSPAM** from e-mail address to respond
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
Has anyone had any luck with multi-page TIFF images, getting all of the
pages to show in a MSWord DOC file or a PDF file, using PDF::API2?
On both accounts, I only can get a single page out of a four page TIFF
to be displayed, and it's driving me crazy.
I want to create a single file by combining
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 a simple regex to
accomplish this?
Thanks
Rick
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
and wait until it completes returning an exit
value.
Regards
Rick
Dr Richard Edwards, Web Developer
Sift, 100 Victoria Street, Bristol, BS1 6HZ, UK
Tel: +44 117 9159600 Fax: +44 117 9159630
http://www.sift.co.uk
-Original Message-
From: Geer, David van der [mailto:[EMAIL PROTECTED]
Sent
n function to change the files ownership but this seems terribly
long winded.
Any suggestions ?
Regards
Rick
Dr Richard Edwards, Web Developer
Sift, 100 Victoria Street, Bristol, BS1 6HZ
Tel: 0117 9159600 Fax: 0117 9159630
http://www.sift.co.uk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi,
I just tried to install HTML::Parser on my Redhat9 system
and I got the following.
Should I just force it? if so how is that done...
Thanks
Rick
sorry for all the output...
-
Running install for module HTML::Parser
Running make for G/GA/GAAS/HTML-Parser-3.31.tar.gz
Is already
rpm's without messing up the other
installation from source?
Thanks
Rick
--
Rick Bragg
Green Mountain Network
web: http://www.gmnet.net
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
about is tinyperl. I have been
told that it give you executable perl on a floppy. I believe it is on
Source Forge.
--Rick
- Original Message -
From: "Dan Muey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, August 20, 2003 10:0
If I want to know what version of a module is already installed on a system,
how can I disclose this?
Can multiple versions of a module exist in a library or does one get superceded
by another that is installed later?
Rick Ressegger
Fairmont WV
--
To unsubscribe, e-mail: [EMAIL PROTECTED
Hello,
I have program that reads in text from an excel spreadsheet (using the
Spreadsheet-ParseExcel module) that works great until...
one of the cells has text that contains a tilda. It then appears that the
program goes ape-s**t and starts printing out unicode (or multi-byte
characters). Can
FWIW:
I have been using CodeWright (www.starbase.com), but have recently become
enamored with Jedit -- written in Java, open source, supports Perl mode,
very extensible I'm still trying to make it "fit" me, but the difficulty
lies in me, not in the editor. (www.jedit.org).
Codewright is a ve
I too am rather new to Perl, and have found the OpenPerlIDE debugger to be
helpful. It is available on sourceforge.net and probably elsewhere.
Hope that helps.
-rz.
"She was trying to construct a life that made sense from things she found in
gift shops."
-kv.
-Original Message-
From
://www.ActiveState.com
Built 17:16:22 Jan 2 2002
Then you can install rasadmin using ppm from:
http://www.open.com.au/radiator/free-downloads/Win32-RasAdmin.ppd
-Rick
At 08:41 PM 2/15/2002, Veeraraju_Mareddi wrote:
>Dear Team,
>
>I am trying to install Win32::RasAdmin.but I am get
ame for more info. fileparse() can give you the path
and file extension also.
Hope this helps,
Rick
-Original Message-
From: Scott [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 08, 2002 8:44 AM
To: [EMAIL PROTECTED]
Subject: file name matching
Morning:
I need to scan a directory for f
71 matches
Mail list logo