Works like a charm
Thanks
At 09:57 PM 4/28/01 -0500, you wrote:
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>On Sun, 29 Apr 2001, Dave Watkins wrote:
>
> > Hi All
> >
> > I am trying to pass a variable, a hash table and an array into a subroutine
> > like so
> >
> > subroutine($variable,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sun, 29 Apr 2001, Dave Watkins wrote:
> Hi All
>
> I am trying to pass a variable, a hash table and an array into a subroutine
> like so
>
> subroutine($variable, %hash, @array);
>
> and pick it up like so
>
> sub subroutine {
> my($variable
subroutine($variable, %hash, @array); ->subroutine($variable, \%hash,
\@array);
sub subroutine {
my($variable, $hash, $array) = @_;
so to reference use : $hash->{xxx} or $array->[0]. etc.
Wags ;)
-Original Message-
From: Dave Watkins [mailto:[EMAIL PROTECTED]]
Sent: Saturday, Ap
Hi All
I am trying to pass a variable, a hash table and an array into a subroutine
like so
subroutine($variable, %hash, @array);
and pick it up like so
sub subroutine {
my($variable, %hash, @array) = @_;
but it seems the array isn't being passed, I can print the contents of the
arra
Hi Robin,
Have a look at the module B::CC which does pretty much what you ask for. You
call it like this:
perl -MO=CC[,OPTIONS] foo.pl
This is from the standard documentation, there is also a section entitled
BUGS which says:
"Plenty. Current status: experimental."
So, you've been warned :-)
Someone please enlighten me. I can't for the world figure out what is
wrong here.
- I create a main window.
- In this window I create a frame.
- In this frame I create four buttons.
- The buttons need to be packed like this:
TOP
LEFT RIGHT
BOTTOM1 BOTTOM2
-Instead the
Lood at perl2exe from http://www.indigostar.com
It's dollarware.
From: "Paul Jasa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, 28 April, 2001 12:41 PM
Subject: running Perl scripts in Windows as an .exe file
> Could anyone tell me whether Perl needs to be installed on an NT bo
Have a look at eval. You can build up your command string and execute it.
The only difference is the scoping of the variables.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, 28 April, 2001 11:45 AM
Subject: self-appending code
> I created a first
I created a first simple program to append code to itself (script below). Is
there a way to get that code interpreted in the same execution? That didn't
happen, but when I started it a second time, the first appended text was
interpreted, the second again not.
main code
filename: prg2.pl
print"p
Learning Perl/Tk often talks about keyboardfocus, but not much about
mousefocus. On page 303 a method is described to use focusFollowsMouse, but
I want to do the opposite: I have a scale widget who should not get
mousefocus when the mouse is moved over it. Moving the mouse over a scale
widget caus
Could anyone tell me whether Perl needs to be installed on an NT box in
order to run a Perl script from windows? Or better yet, is there a way to
make a Perl script an executable file in Windows? My goal is to write a
small network script but I want to be able to run it from my WinNT box, is
t
On Thu, 26 Apr 2001, blowther wrote:
> What's the email address for the perl advocacy email distro?
[EMAIL PROTECTED]
- ask
--
ask bjoern hansen, http://ask.netcetera.dk/ !try; do();
On Fri, 27 Apr 2001, Michael Lamertz wrote:
[...]
> I remember having a Makefile.PL that explicitely overruled the
> environment variable by using the compiler that perl was built with.
> You can check which compiler that is with the command
>
> perl -lMConfig -e 'print $Config{cc}'
You wan
13 matches
Mail list logo