Jason Normandin wrote:
Hey Group
I am new to hashes, so please be kind : )
I am trying to create a hash of hash's with the following characteristics:
1. The outer hash has a unique key called $ELEMENT
Back off here. You haven't yet described the problem you are trying to solve,
and you
On Fri, 14 Nov 2003 20:36:54 -0500, Mame Mbodji wrote:
I am researching some unix commands and I would like to know if someone
knows where I can find them online.
What does this have to do with Perl? The obvious answer, though, is to
tap twice on the TAB key, write down what you see, and then
Why the $I is required in a perl script? ( Does it help the perl to handle dynamically
the memory?)
http://theoryx5.uwinnipeg.ca/CPAN/perl/pod/perlfaq8/How_can_I_capture_STDERR_from_an_externa.html
--- [EMAIL PROTECTED] wrote:
Can someone help me with capturing an output of a
system() call?
ie ($a)=system(uname -n);
where $a would have the output value.
thanks
On Sat, 15 Nov 2003 14:35:12 +0200, John wrote:
Why the $I is required in a perl script?
It isn't.
(Does it help the perl to handle dynamically the memory?)
No. Read the documentation 'perldoc perlvar';
If set to nonzero, forces a flush right away and after every
write or print on the
John wrote:
Why the $I is required in a perl script? ( Does it help the perl to handle dynamically the memory?)
Special variables like these can be looked up in perldoc perlvar, from
that doc:
$OUTPUT_AUTOFLUSH
$? If set to nonzero, forces a flush right away and after every
write
I have seen that special variable in CGI scripts, mostly.
Well, i started unstartanding what that actually does.
Thanks for your help
John
- Original Message -
From: Wiggins d'Anconia [EMAIL PROTECTED]
To: John [EMAIL PROTECTED]
Cc: Perl Beginners [EMAIL PROTECTED]
Sent: Saturday,
On Friday, Nov 14, 2003, at 18:39 US/Pacific, Jerry Rocteur wrote:
Beautiful drieux, what a sexy way to do a system call!!
And I never knew about $host = hostname;.. What a neat trick..
Keep 'em comin...
Wiggins is the one who deserves the point,
since he was the one with the reference
to
On Friday, Nov 14, 2003, at 08:06 US/Pacific, Randal L. Schwartz wrote:
[..]
Luckily, with the modern Learning Perl book, there's no need for a
separate version. O'Reilly continues to sell it though, simply
because it's selling. :) We've come a long way from that first series
of books.
[..]
For
On Friday, Nov 14, 2003, at 07:19 US/Pacific, angie ahl wrote:
[..]
I changed my code so the variables aren't references;
sub EventList {
my ($class, %arg) = @_;
# load of code here
return ([EMAIL PROTECTED], $startdate, $enddate);
}
And then called it like so:
my @tempres =
Jeff Westman wrote:
Subject: Using Net::FTP for chmod (help needed ASAP)
Jeff.
This isn't a pitstop. It's a place for 'beginners' to learn.
Rob
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Friday, Nov 14, 2003, at 02:29 US/Pacific, [EMAIL PROTECTED]
wrote:
When writing HTML in perl can you interpolate the html with perl code
or do you have to write the whole script in perl with each tag within
a prel print() function. The importance of this is layout, nested
tables,
design
Hello,
Using the mech-dump utility I get the error listed below when trying
to access this page. I do have the login information. Does anybody know
how I can supply it and get around this?
--
Thank you,
Vincent A. Primavera.
M.I.S. Manager.
Ralph Pill
I am trying to get the last element of the anonymous array below. Using
$# I keep getting the 1st element (or so it seems anyway). What am I
doing wrong?
$server {TED0} = ['SERVER1', 'SERVER2', 'SERVER3'];
push @{$server{TED0}}, SERVER4;
push @{$server{TED0}}, SERVER5;
print \nFull array is:
I've a similar need. However, I do not want to create a module, since the
function I need to call is already inside a module. All I want to do is:
#Create a logger object and log a message using log4perl
#call the function and check the $retval
#if $retval == 1 $logger-info(Test succeded)
#else
Randal L. Schwartz [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Chris == McMahon, Chris [EMAIL PROTECTED] writes:
Chris You *are* the one who wrote Learning Perl on Win32 Systems, yes?
I wrote the Learning Perl parts yes. Eric Olsen (I'm probably
mangling the spelling of his
On Nov 14, 2003, at 12:25 PM, Paul Harwood wrote:
$last = ${$server{TED0}}[$#];
Replace $# with -1.
James
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Paul Harwood [mailto:[EMAIL PROTECTED]
:
: I am trying to get the last element of the anonymous
: array below. Using $# I keep getting the 1st element
: (or so it seems anyway). What am I doing wrong?
:
: $server {TED0} = ['SERVER1', 'SERVER2', 'SERVER3'];
: push @{$server{TED0}}, SERVER4;
:
On Friday, Nov 14, 2003, at 09:07 US/Pacific, Wiggins d Anconia wrote:
Douglas Houston [mailto:[EMAIL PROTECTED]
:
: WHY do I need to explain why I want to do this?
Because no one wants to give a loaded gun to
someone who hasn't demonstrated a good grasp of
gun safety.
That is a very ironic
Chuck Fox wrote:
Fellow perl coders,
I am having trouble wrapping my head around how to accomplish the
following:
Given a dbi result set that consists of datetime, servername,
databasename, procedurename and average elapsed time.
Convert this into an data structure suitable for export to a
Rob == Rob Dixon [EMAIL PROTECTED] writes:
Km i am just curious -- is perl 6 coming with a compiler ?
Why would they remove a feature already available since Perl 1?
Rob [snip]
Rob I think you and I both know what Km means by a 'compiler'.
No. I don't we can possibly know precisely what
Bob == Bob X [EMAIL PROTECTED] writes:
Bob So, by your comment, I can take it to mean that the book can now
Bob cover both *nix and Windows and that you have either told the
Bob Windows people to use .pl or .plx correct?
Yes, I seem to recall that is what we did. We spent a lot of work
making
Charles == Charles K Clarkson [EMAIL PROTECTED] writes:
Charles : WHY do I need to explain why I want to do this?
Charles Because no one wants to give a loaded gun to
Charles someone who hasn't demonstrated a good grasp of
Charles gun safety.
Well said!
It's like you've asked How do I
On Sat, Nov 15, 2003 at 11:19:44AM -0800, Randal L. Schwartz wrote:
Rob == Rob Dixon [EMAIL PROTECTED] writes:
Km i am just curious -- is perl 6 coming with a compiler ?
Why would they remove a feature already available since Perl 1?
Rob [snip]
Rob I think you and I both know what
I'm pretty sure the newest versions of Excel support the same XML
spreadsheet format that OpenOffice does. Of course, if I remember
correctly Microsoft was charging more for it (i.e. in Pro version or
Enterprise -- not home edition).
-Dan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Rob Dixon wrote:
Not exactly a transparent piece of code though is it. Especially
if your base system isn't Unix!
Works jusat fine on Windows, although it helps to have a longer list, since this gets
p[rocessed really fast, too fast to
see what's going on. Try increasing the loop count to
26 matches
Mail list logo