Hi David,
In article <[EMAIL PROTECTED]>, David wrote:
> Kevin Pfeiffer wrote:
>
>> Hi all,
>>
>> I just took another look at an exercise I wrote a couple months ago and
>> fleshed it out a bit. It is a commandline "trashcan" program which I
>> actually use. Instead of typing 'rm' I almost alwa
Howdy all!.
I'm using a simpewlmmodule to get vars an dfunctions into one place.
It works dandy except I can't have use strict in the module.
I think it has todo with not doing my or our with teh @EXPORT and friends:
So what am I missing, what do I need to do to be able to add use stirct; to
m
Hi,
I've looked around to not much avail, what I'm looking for is a SELECT query
that selects the last record in a database. Each table has the primary field
"id", to which auto increments on each input. I don't want to have to load
the entire db, cycle through it until I find the last one, the pr
try Time::Duration
Dan
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I know about localtime(time); But I was wondering if there was a formula
> out there like 1066442632/60/60/24 that will say today is say 2003 10 17.
>
> thanks
>
> > On Oct 17, [EMAIL PROTECTED] said:
> >
> >>> [E
On Wed, 22 Oct 2003 16:24:26 -0600, Chris McMahon wrote:
>
>
> Hello...
> I am booting a FreeBSD system from the network via PXE.
> On that FreeBSD system is Perl 5.005.
> I want to use the IO::Socket::INET module in a script on that system. (But
> I'd settle for Socket.pm)
> The kicker i
"Dan Muey" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Howdy all!.
>
> I'm using a simpewlmmodule to get vars an dfunctions into one place.
>
> It works dandy except I can't have use strict in the module.
>
> I think it has todo with not doing my or our with teh @EXPORT and
frien
On Wed, Oct 22, 2003 at 07:22:24PM +0200, Kevin Pfeiffer wrote:
> In article <[EMAIL PROTECTED]>, Charles K. Clarkson
> wrote:
>
> > Kevin Pfeiffer <[EMAIL PROTECTED]> wrote:
> >
> > : Where I am stuck is on the question:
> > :
> > : Given an @array such as
> > : ("Title of Song", "Artist", "Tit
I currently have a variable called $servicename.
Example: SNMP Service = $servicename
How can add double qoutes around "SNMP Service" to the variable
$servicename?
I have tried $doubleqoutes_servicename = "$servicename";
This does not work though.
Any ideas?
Anthony J Segelhorst
Enterprise
--On Saturday, October 25, 2003 20:48 -0400 Anthony J Segelhorst
<[EMAIL PROTECTED]> wrote:
How can add double qoutes around "SNMP Service" to the variable
$servicename?
I have tried $doubleqoutes_servicename = "$servicename";
This does not work though.
Any ideas?
Either of the following shoul
dan wrote:
Hi,
I've looked around to not much avail, what I'm looking for is a SELECT query
that selects the last record in a database. Each table has the primary field
"id", to which auto increments on each input. I don't want to have to load
the entire db, cycle through it until I find the last
David Storrs wrote:
On Wed, Oct 22, 2003 at 07:22:24PM +0200, Kevin Pfeiffer wrote:
In article <[EMAIL PROTECTED]>, Charles K. Clarkson
wrote:
Kevin Pfeiffer <[EMAIL PROTECTED]> wrote:
: Where I am stuck is on the question:
:
: Given an @array such as
: ("Title of Song", "Artist", "Title", "Ano
Daniel Staal wrote:
--On Saturday, October 25, 2003 20:48 -0400 Anthony J Segelhorst
<[EMAIL PROTECTED]> wrote:
How can add double qoutes around "SNMP Service" to the variable
$servicename?
I have tried $doubleqoutes_servicename = "$servicename";
This does not work though.
Any ideas?
Eithe
Can someone show me how to pass multiple arrays argument?
ie -
...
mysub(@a, @b, @c);
...
sub mysub
{ my @a = ? #arg1 an array $_[0] is not working
my @b = ? arg2 another array $_[1] is not working
my @c = ? arg3 another array $_[2] is not working
}
thanks
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] wrote:
:
: Can someone show me how to pass multiple arrays argument?
:
: ie -
Read perlsub. You can use references.
:
: ...
: mysub(@a, @b, @c);
mysub( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] );
: ...
:
: sub mysub
: { my @
On Sat, 25 Oct 2003 10:43:51 +0100, dan wrote:
> Basically what happens is the program enters information using INSERT, and
> then it needs to re-read the data it's just sent to verify it, and get the
> id number that auto_increment assigned it.
You don't say anything about what RDBMS you're using
Another solution :
For your query, try "SELECT MAX(id) FROM table"
That works with mysql.
-Message d'origine-
De : dan [mailto:[EMAIL PROTECTED]
Envoyé : samedi 25 octobre 2003 11:44
À : [EMAIL PROTECTED]
Objet : SQL Syntax quickie
Hi,
I've looked around to not much avail, what I'm l
16 matches
Mail list logo