al
will pirate an idea, code or whatever which is copyright in say,
England. Or is it OK for the US to steal property of other nations ?
The US is not the sole repository of good and worthwhile ideas.
Now, I'll get off my soapbox and go back to lurking on this very
informative list !
Andrew
(An Australian)
#x27;12345') {
#load new web page.
}
Thanks,
Andrew
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
--
To unsubscribe,
Thanks pal, you are great. I will try out.
Cheers, Andrew
-- Sawsan Sarandah <[EMAIL PROTECTED]> wrote: > Hi
Andrew,
> I've been working on a similar question recently.
> Try to set the cookie and
> then redirect back into the same script. When
> setting the cookie
Dear all,
1) Any body knows to go about creating login screen
program for perl.
2) The good websites about this.
Thanks,
Andrew
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free
to set
the private_groups and private users, also set the
httpd.conf files. this is some thing I know. there
should be more ref.
Thanks and cheers,
Andrew
--- Tan Wee Keong <[EMAIL PROTECTED]> wrote: > Hi,
>
> Recently I've received a task to write a script
> (CGI) to al
Hey Gentlemen,
Can anybody tell me if wrting Perl can be as
easy as writing a simple story.
It would be good If we can discard away all the
syntaxes, expecially. It can even be OO based to
compete with Java, C++.
Cheers,
Andrew
Thanks,
Andrew
__
Do You Yahoo!?
Everything you'll ever need on one web page from News and Sport to Email and Music
Charts
http://uk.my.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
__
Do You Yahoo!?
Everything you'll ever need on one web page from News and Sport to Email and Music
Charts
http://uk.my.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I am tying to expand some camel case with spaces - but I want multiple
captitals to remain as one word. So
I want "PerlNotesOnXML" -> "Perl Notes On XML"
My attempt is to use [A-Z]+ in a lookahead.
my $text = "PerlNotesOnXML" ;
$text =~ s/(?=[A-Z]+)/ /gx ;
print $text ;
I think I can se
Thanks
"Mr. Shawn H. Corey" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]:
> How would it parse "XMLSchema" ? You need to write down the rules
> before you try creating than regex for them. Try:
>
Ok - I am a typical customer - my stated requirement isn't quite my real
requirement :-)
I'm a brand newbie to cpan and relatively inexperienced with perl. I was given
some cpan commands to follow for a third
party application I'm trying to install/build, but I want to script (bash)
these commands as chances are I'll be
reinstalling a bunch of times after I screw it up.
The module
Not sure but check out or install libssl-dev ( root privs required )
22.12.2016 16:56, Luca Ferrari пишет:
Hi all,
running perl 5.25.8 on kubuntu 16.10 via perlbrew I try to install
Net::SCP but got this strange stuff:
% cpanm Net::SCP
...
Successfully installed Net-SSH-0.09
...
Successfully i
https://srcc.stanford.edu/farmshare2/software-perlbrew
22.12.2016 17:24, Andrew пишет:
Check also this article ( nearing the issue I guess )
22.12.2016 17:13, Andrew пишет:
Not sure but check out or install libssl-dev ( root privs required )
22.12.2016 16:56, Luca Ferrari пишет:
Hi all
Check also this article ( nearing the issue I guess )
22.12.2016 17:13, Andrew пишет:
Not sure but check out or install libssl-dev ( root privs required )
22.12.2016 16:56, Luca Ferrari пишет:
Hi all,
running perl 5.25.8 on kubuntu 16.10 via perlbrew I try to install
Net::SCP but got this
do something completely different with it. As I said, it's
dependent entirely on context.
Your mileage may vary.
hope that helps,
Andrew Nelson
-Original Message-
From: Bradshaw, Brian [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 07, 2001 10:53 AM
To: [EMAIL PROTECTED]
Subject: t
nd attempt at decent code
Probably not the best way. I'm still a newbie hack somedays myself. But this
should work :)
-=-
G. Andrew Nelson
Release Engineer
Storigen Systems, Inc.
650 Suffolk Street
Lowell MA 01854
+1 978 323 4454 x271
-Original Message-
From: Evan McNabb [mailto:[
You can open a file via open() for reading or writing, but not both. Try
open (FILE, $file);
print FILE;
close(FILE);
And see if that doesnt help.
-Original Message-
From: Sara Campbell Meeks [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 07, 2001 12:39 PM
To: '[EMAIL PROTECTED]'
Subje
Sure. Try $0. :)
-Original Message-
From: Charles Lu [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 15, 2001 2:31 AM
To: [EMAIL PROTECTED]
Subject: Special Variable for name of the running script
When you run a perl script from command line, you can often retrieve the
arguments through
nd did not work. If I step
through the ftp process on that command line, that command works like it is
supposed to.
Any ideas?
Andrew Hinkle
Unix Systems Administrator
CA Secretary of State's Office
916.653.2320
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all,
I am interested in self-learning the DBI module for database
manipulation. Are there any good online tutorials available?
Thanks,
Andrew
Just curious, how would you send an attachment?
Johnathan Kupferer wrote:
>
> Aww... you should have let him hire a consultant. ;o)
>
> Seriously though, this is dead simple. Gary's code is great and robust
> if a bit intimidating for a newbie. You said you have background in
> VisualBasic
try this :
$tmp =~ tr/a/ /;
Johan Groth wrote:
>
> Hi,
> I want to strip a variable of all characters including a token, i.e.
> aaa_bbb_ccc_ddd would become bbb_ccc_ddd. As you can see I want to get rid of
> aaa_. Does anyone know how to acomplish this in Perl?
>
> I've tried:
> $tmp = "aaa_
open(FILEHANDLE, ">filename")
the '>' indicates open for append, or create if doesn't exist.
checkout 'perldoc -f open' for all the fun things you can do with open.
Andrew
-Original Message-
From: Nichole Bialczyk [mailto:[EMAIL PROTECTED]
Below is a script that I can't get to work as a Korn shell script. I
would like to get something like it to run in perl.
What I am attempting to do is search thru all of the websites on my
server and make a file that tells me what websites reside in what
directory.
I can get the first part of
ope that makes sense).
The second solution whilst effectively removing the unwanted element
would mean that the end of my array was filled with duplicates or
rubbish, so isn't really a solution unless I can then tidy it up
somehow.
TIA
Andrew
--
To unsubscribe, e-mail: [EMAIL PROTEC
Where are the archives?
Sorry to ask such a dumb question but I don't know and it might save me
posting others.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I think the 'Scheduled tasks' referred to is what I would call the
Scheduler service.
AT jobs can be created from the command line (probably fine if you are a
Unix/Perl type person) or from the GUI using WINAT (if you are a dumb NT
person like me).
To use AT jobs the Scheduler service needs to
d not found
But when run from the script nothing happens.
How can I capture the output? Or at least have the output print to screen.
Andrew Tait
System Administrator
Country NetLink Pty, Ltd
E-Mail: [EMAIL PROTECTED]
WWW: http://www.cnl.com.au
30 Bank St Cobram, VIC 3644, Australia
Ph: +61 (03) 58
The subject says it all.
R,
AJFC
Please CC replys, I'm not on the list.
his be done? If not, is there a standard workaround?
Many thanks for any assistance.
Andrew Koebrick
Web Coordinator/Librarian
MN-Planning (Office of Strategic and Long Range Planning)
658 Cedar St., Suite 300
St. Paul, MN 55155
651-296-4156 phone
651-296-3698 fax
www.mnplan.state.mn.us
--
I am working on an org chart app. It is easy to loop through an
employee list and get an array of everyone who reports to a given user
ID (say, a vice president), but my logic breaks when I try and loop
through the list again and get arrays of everyone who reports to the
managers in the initial a
g this?
Cheers,
Andrew
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Fantastic!
Thankyou.
From: Briac Pilpré [mailto:[EMAIL PROTECTED]]
Sent: 21 January 2002 16:05
To: [EMAIL PROTECTED]
Subject: Re: Using system variables (M$ OS's)
Andrew Mason wrote:
> I would like to print a line containing the value of a system variable
> (I'm running on M$
ntent considering
that I will want to format the output and keep paragraph breaks online etc.
Do I store them as .txt files, .doc files or cut an paste the content? Any
input from people who have gone down this path or can point out some
possible pitfalls is greatly appreciated.
Thanks,
Andrew
-
database?
How do I go about doing this?
All suggestions are welcome.
Thanks,
Andrew
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Is it possible to issue multiple concurrent commands to system (for
instance) from within a perl script?
If it is (and I strongly suspect that it must be) would someone please
be so kind as to suggest some terms or perl commands to look up. (I
suspect the term threading might appear but I don't
What's a slick way to enumerate all subarrays of length n from a master
array of length m? For example I've been enumerating all possible two
card hands from a deck of 52 cards (n=2, m<=52) using nested for loops:
for ( $i = 0 ; $i < $#deck ; $i++ ) {
for ( $j = $i+1 ; $j <= $#deck ; $j++
scape the regex and do addition on a backreference to get
something like /(\d+)[cdhs]\1+1[cdhs]\1+2/?
Thanks,
-Andrew
A crude one
($part,$unit,$x,$y,$xlen,$ylen) = ($1,$2,$3,length($4),length($5))
if ($string =~ /(^\S{5})\.(\d{2})([+-])(\d+)\.(\d+)$/);
-Original Message-
From: Dan Fish [mailto:d...@ninemoons.com]
Sent: 19 May 2009 14:18
To: beginners@perl.org
Subject: Simple regex question
Simple que
http://www.perlmonks.org/?node_id=202898
may be of use.
-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Harry Putnam
Sent: 19 June 2009 14:36
To: beginners@perl.org
Subject: recurive chown with perl chown
How to manage a recursive chown using perl function chown?
I need to know how to get the arguments passed to Perl. I'm using the
ActiveState built version of Perl on Windows Vista.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
boll wrote:
There is a perl program running on my server that delivers random
images to a web page.
The image on the html page is specified by this html code:
http://localhost/cgi/random_image.cgi"/>
I would like to use this program in several places to display images
from other director
Shawn H. Corey wrote:
Andrew Steinborn wrote:
I need to know how to get the arguments passed to Perl. I'm using the
ActiveState built version of Perl on Windows Vista.
Perl loads the command-line arguments into the special variable @ARGV
See `perldoc perlvar`.
Thanks. I figured i
%hash = map { $_ => 1 } @array;
is just a funny way to write
%hash = ();
foreach $_ (@array) {
$hash{$_} = 1;
}
-Original Message-
From: Sharan Basappa [mailto:[EMAIL PROTECTED]
Sent: 20 March 2008 1
As this is a beginners list are you going to explain...
push my @c, [EMAIL PROTECTED] @a}];
push @{$c[0]}, (@{shift @b})[1];
$c[$_->[0]] = [ @{$_} ] while $_ = shift @a;
push @{$c[$_->[0]]}, $_->[1] while $_ = shift @b;
-Original Message-
From: Jay Savage [mailto:[EMAI
Ill make a guess it's a scope issue, but cant be sure without the main
code.
Try something like
use strict;
my %test=mysub();
print %test;
sub mysub {
my(%myhash,$var1,$var2);
$var1 = '1';
$var2 = '2';
$myhash{$var1} = $var2;
print %myhash;
return ( %myhash
-Original Message-
From: Rob Dixon [mailto:[EMAIL PROTECTED]
Sent: 28 April 2008 17:53
To: beginners@perl.org
Cc: Francisco Valladolid
Subject: Re: sql and perl
Francisco Valladolid wrote:
>>
>> I want to start learning about sql and how it interacts w/ perl.
>>
>> My rough idea is to
>-Original Message-
>rom: J. Peng [mailto:[EMAIL PROTECTED]
Sent: 01 May 2008 15:31
To: [EMAIL PROTECTED]
Cc: beginners@perl.org
Subject: Re: question on foreach loop
To add a statement of "print $_" follow the foreach, you will see what
was happening.
foreach (@data){
print "$_\n";
If your trying to do this on a unix based system
^M is equivalent to \r\n so you can get rid of \r I believe.
-Original Message-
From: Remy Guo [mailto:[EMAIL PROTECTED]
Sent: 21 May 2008 15:20
To: Rob Coops
Cc: Perl Beginners
Subject: Re: what is ^M at the end of a line?
it's really
Depending on your server the error could be that the group doesn't exist i.e.
on unix you would need to add the groups to /etc/group first.
-Original Message-
From: Jyotishmaan Ray [mailto:[EMAIL PROTECTED]
Sent: 20 August 2008 13:17
To: beginners@perl.org
Subject: What is wrong with th
Im going with empty string or null.
-Original Message-
From: Irfan J Sayed (isayed) [mailto:[EMAIL PROTECTED]
Sent: 20 August 2008 14:34
To: beginners@perl.org
Subject: doubt
Hi All,
Can you please tell me what is the value of $file. When i execute this
script . it says "Can't open : N
Perl -p -i -e "s/search/replace/;"
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 02 September 2008 15:06
To: beginners@perl.org
Subject: Perl equivalent of "sed -f" or "awk -f"
I'd like to apply a series of inline edits to a file in Perl.
With sed, I could
Hi All,
Open Source Bootcamp (osbootcamp) teaches skills with open source. We
recently had a Perl talk which we've recorded and made freely available from
the osbootcamp.org videos section. Enjoy!
Andrew
http://osbootcamp.org
Hi Daniel
I think the qx command will do what you want. It's described in perldoc
perlop
An example of it in use is
perl -e '$res=qx/date/;print $res;'
--
Andrew
Daniel Nascimento wrote:
Hello everyone!
I'm learning perl and I need some help.
I want to write a script t
gt;> Cross-Platform language.
>>
>
> Yes, the book "Learning Perl" had 5th in 2008.
> and you can download it from the here:
> www.freebookspot.net
> also it had many frees books to download.
> good luck.
>
> Air
>
>
>
--
--
Andrew
**
Actually using javascript it is possible although probably not
recommended and again can not be guaranteed to work on all browsers.
-Original Message-
From: Rob Coops [mailto:[EMAIL PROTECTED]
Sent: 03 November 2008 10:42
To: beginners@perl.org
Subject: Re: Reg : Browser Back Button
On M
old]
Sorry, forgot to send it to the list...
Ray
-
Hi Andrew,
AndrewMcHorney wrote:
> I am working on a perl script that will go through a directory and
> it's subdirectories and purge all the files that are more than a
> specified number of days old. I am using a Unix sy
of my ears after reading a few pages
of the first one...
--
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
;,
mm is a 2 digit month, and is a 4 digit year. If the table doesn't exist, I want to
create it with the same layout as all the rest. I can write a program that does this the
hard way, but before I started, I wanted to know if there was an easier way.
--
Andrew Gaffney
Network Administ
Andrew Gaffney wrote:
Is there an easy way with DBI (or anything other modules) to retrieve
and modify the layout of database tables in a MySQL DB? I need to write
a program to add 2 fields to ~40 tables with an identical layout. The
tables are named "m"mmyy where "m" is an
ach (keys %$tabledesc) {
foreach (keys %$tabledesc->{$_}) {
print "$_ = $tabledesc->{$_}, ";
}
print "\n";
}
}
$dbh->disconnect();
sub get_table_list {
$sth = $dbh->prepare("SHOW TABLES");
$sth->execute;
while($ref = $sth->fetchro
Ed Pigg wrote:
On Mar 2, 2004, at 5:53 PM, Andrew Gaffney wrote:
Is there an easy way with DBI (or anything other modules) to retrieve
and modify the layout of database tables in a MySQL DB?
You might want to look at Class::DBI on CPAN.
That is the general idea. I was thinking about something
Charles K. Clarkson wrote:
Andrew Gaffney <[EMAIL PROTECTED]> wrtoe:
:foreach (keys %$tabledesc) {
: foreach (keys %$tabledesc->{$_}) {
Shouldn't that be:
foreach ( keys %{ $tabledesc->{$_} } ) {
:print "$_ = $tabledesc->{$_}, ";
: }
:
Charles K. Clarkson wrote:
Andrew Gaffney <[EMAIL PROTECTED]> wrote:
: Now I've got another issue.
: How can I dynamically assign new keys to a hash without
: getting warnings when using 'use warnings'? I get the warning
: about an undefined value on the line with the
s, post it; keep this Perl Chain Posting going...
If you want to indent your ending line (EOF, EOT, END_OF_COMMANDS, etc.) for readability,
you can do so like this:
print <<" EOF"; # Single quotes turn off variable interpolation (found out hard way)
This is some text.
More text.
f
Wiggins d'Anconia wrote:
Andrew Gaffney wrote:
[snip]
Really, I'm the only user of my code. I don't expect to get replaced
anytime soon as my boss also doubles as my father ;) Besides, I
certaintly don't want to make things easier for my replacement (if
there ever is one
Charles K. Clarkson wrote:
Andrew Gaffney <[EMAIL PROTECTED]> wrote:
:
: I'm currently going through and cleaning up all my code
: and moving all common code to my module.
Get used to doing it. In about a year you'll wonder
why you did it that way and how you did anything wi
en use regex to grab the
IP.
--
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
I've read through the Expect.pm documentation and looked at what few examples I could
find, but I still can't figure out how to use Expect to interact with the 'passwd'
program. Can anyone point me to an example that does this? Thanks.
--
Andrew Gaffney
Network Administrator
Andrew Gaffney wrote:
I've read through the Expect.pm documentation and looked at what few
examples I could find, but I still can't figure out how to use Expect to
interact with the 'passwd' program. Can anyone point me to an example
that does this? Thanks.
I figured it ou
how to get these errors/warnings to stop popping up everytime this
script is run? This script is run a lot and it's filling up my error log.
--
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
Randy W. Sims wrote:
On 03/19/04 00:58, Andrew Gaffney wrote:
I keep getting the following errors in my Apache error log every time
a certain script is run:
Prototype mismatch: sub
Apache::ROOT::cgi_2dbin::showday_2epl::time2str vs ($;$$) at
/usr/lib/perl5/5.8.0/Exporter.pm line 59.
at /home
#x27;, ");
Example:
INSERT INTO people VALUES(NULL, "Firstname", "Lastname", ""123 Anywhere Address"",
...");
INSERT INTO people VALUES(NULL, "Firstname", "Lastname", '123 O'Walley Street', ..."
WC -Sx- Jones wrote:
Andrew Gaffney wrote:
INSERT INTO people VALUES(NULL, "Firstname", "Lastname", ""123
Anywhere Address"", ...");
INSERT INTO people VALUES(NULL, "Firstname", "Lastname", '123 O'Walley
Street
Wiggins d'Anconia wrote:
Andrew Gaffney wrote:
WC -Sx- Jones wrote:
Andrew Gaffney wrote:
INSERT INTO people VALUES(NULL, "Firstname", "Lastname", ""123
Anywhere Address"", ...");
INSERT INTO people VALUES(NULL, "Firstname", "La
Phone
AnotherPhone
Row 2 First2 LastaddyCityState Zip 555-
So it looks like 3 records instead of 2. Does anyone have any ideas on how to pick apart
the data to get it into the DB?
--
Andrew Gaffney
Network Administrat
R. Joseph Newton wrote:
Andrew Gaffney wrote:
I'm writing a web-based client information system for a lawyer.
[OT}
Eek!! Be very, very careful about security, please. I trust your employer has taken
"duty of
care" isuues into account.
[/OT]
His current client list is
in
Andrew Gaffney wrote:
I'm writing a web-based client information system for a lawyer. His
current client list is in a 137 page Word document with an embedded
table. I can get it into a somewhat usable format by copying the entire
table, pasting into Excel, and saving as tab delimeted text
don't think is right because it shows as a CRLF on
the terminal. I have an input file which has data between '\r' characters. Some of these
fields contain '\n' and the mystery character. I have a regex which changes any '\n' to '~~~':
s/\n+/~~~/sg;
Andrew Gaffney wrote:
I have a non-printable character that I'm trying to match in a regex,
but I can't figure out what it is. If I know it comes after '~~~' in a
string, how can I show its value? I tried:
s/~~~(.?)/sprintf "|%d|", $1/se;
but that just display
Andrew Gaffney wrote:
Andrew Gaffney wrote:
I have a non-printable character that I'm trying to match in a regex,
but I can't figure out what it is. If I know it comes after '~~~' in a
string, how can I show its value? I tried:
s/~~~(.?)/sprintf "|%d|", $1/s
Charles K. Clarkson wrote:
Andrew Gaffney <[EMAIL PROTECTED]> wrtoe:
:
: I managed to get Word to export it into a format where
: the fields are separated by '\r'. Yeah, kinda weird. I
: wrote the following:
:
: open FILE, $file;
: my $counter = 0;
:
: while () {
:while (
R. Joseph Newton wrote:
Andrew Gaffney wrote:
The above code won't work because it splits on a comma. A lot of the fields contain a
comma somewhere within the actual data. If it was easy as that, I would have had this
done
long ago ;)
--
Andrew Gaffney
Hi Andrew,
Don't count on it
ed but even after escaping the semicolon didn't solve the
problem.
Can someone give some help or reference link where I can learn what these values
like "\x1b?2;2H" mean.
Most likely, the problem is that Perl is interpreting what is in the quotes first. Try
putting it in single quotes
n then find out which ones are the most recent and display them to the user. I
also need to be able to determine if a certain date is between 2 dates. I really only need
help with the date math part. Everything else I can do. Is there a module that can help me?
--
Andrew Gaffney
Network Administ
Chris Charley wrote:
Hello Andrew
I've enclosed a text file that demonstrates Date::Simple.
HTH
Chris
- Original Message -
From: "Andrew Gaffney" <[EMAIL PROTECTED]>
Newsgroups: perl.beginners
To: "beginners" <[EMAIL PROTECTED]>
Sent: Saturday, Marc
Chris Charley wrote:
Hello Andrew
I've enclosed a text file that demonstrates Date::Simple.
HTH
Chris
- Original Message -
From: "Andrew Gaffney" <[EMAIL PROTECTED]>
Newsgroups: perl.beginners
To: "beginners" <[EMAIL PROTECTED]>
Sent: Saturday, Marc
R. Joseph Newton wrote:
Andrew Gaffney wrote:
My code ended up looking like:
use strict;
use warnings;
This code is running under mod_perl, so I think both of those are already being used.
use constant PAY_PERIOD_DAYS => 14;
Good idea. I never use constants. My code makes sense to me, but
e running Linux (might work on other UNIXs too), you can run 'ps aux | grep
apache' (Apache 2.x) or 'ps aux | grep httpd' (Apache 1.x). The first column is the user
it's running as.
--
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548
--
To unsubsc
Chris Charley wrote:
"Andrew Gaffney" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
R. Joseph Newton wrote:
Andrew Gaffney wrote:
[snip]
I didn't do it this way because there is a "first" pay period. If there
are only 2 pay
periods from the starti
ure what results I was expecting when I ran it, but
it sure wasn't this:
3
15
63
255
1023
4095
16383
65535
--
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<htt
Is there a way to find out how many records were returned with a DBI query? There's the
obvious counting each record as you fetch it, but I need the count before I start going
through them.
--
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548
--
To unsubscribe, e
Guay Jean-Sébastien wrote:
Hello Andrew,
Is there a way to find out how many records were returned
with a DBI query? There's the
obvious counting each record as you fetch it, but I need the
count before I start going
through them.
I was looking through the DBI documentation (perldo
{width => 200, text => 'Col3', total => 1},
{width => 100, text => 'Col4', total => 0}];
my @data;
while(...) {
# Get data somehow
push @data, ["$data1", "$data2", "$data3", "$data4"];
}
genera
How do you determine what type of data a reference points to? I have a function (one in
previous post) that can take either an array of scalars or an array of hash references. I
want to execute different code based on which one it was. How can I do that?
--
Andrew Gaffney
Network Administrator
WC -Sx- Jones wrote:
Andrew Gaffney wrote:
How do you determine what type of data a reference points to? I have a
function (one in previous post) that can take either an array of
scalars or an array of hash references. I want to execute different
code based on which one it was. How can I do
I've got an array reference and I'm trying to figure out how many elements are in it. I've
tried '$#arrayref', '[EMAIL PROTECTED]', '$(@($arrayref))', and probably a few others that I've
forgotten. What is the correct way to do this?
--
Andrew
david wrote:
Andrew Gaffney wrote:
I've got an array reference and I'm trying to figure out how many elements
are in it. I've tried '$#arrayref', '[EMAIL PROTECTED]', '$(@($arrayref))', and
probably a few others that I've forgotten. What is t
arse the Apache
access log?
--
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
Andrew Gaffney wrote:
I maintain the Perl CGI/mod_perl side of a website, and someone else
maintains the static HTML side. Well, the htdocs dir has gotten very
messy. Because of things I've done with CGI/mod_perl/Mason, there are
many static pages that are no longer used.
I want to wr
1 - 100 of 527 matches
Mail list logo