RE: [perl-win32-gui] hashes/anonymous arrays

2000-10-27 Thread Steven Manross
Title: RE: [perl-win32-gui] hashes/anonymous arrays





Suggestion...


check for special character combinations like wa or ya


to compress the 2 letters together when using block font.


Nice script..


Steven



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 2:50 PM
To: [EMAIL PROTECTED]
Subject: Re: [perl-win32-gui] hashes/anonymous arrays



oh...heh, that's kind of embarrassing...well, thanks a bunch!


-EvanK





Re: [perl-win32-gui] hashes/anonymous arrays

2000-10-27 Thread EvanK40767

check for special character combinations like "wa" or "ya"
to compress the 2 letters together when using "block font".
i've thought about that before...i probably will end up doing that too.

Nice script..
thanks, appreciate the compliments

-
___
Windows 95: 32 bit extension and a graphical shell for a 16 bit patch to an 8 
bit operating system originally coded for a 4 bit microprocessor, written by 
a 2 bit company that can't stand 1 bit of competition. 




Re: [perl-win32-gui] hashes/anonymous arrays

2000-10-25 Thread Aldo Calpini

[EMAIL PROTECTED] wrote:
 I already tried using the command line with the -d flag, but
 to no avail.  
 the script (still in progress of course) is attached.

it's a very simple logical error. you're going into
Win32::GUI::Dialog() before the hashes are initialized, so
that of course they contain nothing ;-)


cheers,
Aldo

__END__
$_=q,just perl,,s, , another ,,s,$, hacker,,print;






Re: [perl-win32-gui] hashes/anonymous arrays

2000-10-25 Thread Aldo Calpini

Aldo Calpini wrote:
 it's a very simple logical error. you're going into
 Win32::GUI::Dialog() before the hashes are initialized, so
 that of course they contain nothing ;-)


BTW, k00l script! ;-)

cheers,
Aldo

__END__
$_=q,just perl,,s, , another ,,s,$, hacker,,print;






Re: [perl-win32-gui] hashes/anonymous arrays

2000-10-25 Thread EvanK40767

oh...heh, that's kind of embarrassing...well, thanks a bunch!

-EvanK



Re: [perl-win32-gui] hashes/anonymous arrays

2000-10-24 Thread Aldo Calpini

[EMAIL PROTECTED] wrote:
 I have a program I wrote (originally for straight command-line
 type perl) that I'm converting over to use the WIn32::GUI module.
 In it, I use 3 hashes (named %style1, %style2, and %style3), all
 containing anonymous arrays, to house a bunch of strings (the
 program is for making curses-type text).  Now, for some reason,
 in straight perl, the hashes work perfectly, but in the GUI one,
 when I try to access a certain one (for instance, $style1{'a'}[2]),
 it doesnt return anything but a blank string.  Now my best guess
 as to whats wrong is a name conflict with the hashes, but I
 changed the names and that doesnt seem to quite work, so I'm
 stuck.  Any ideas?

if you don't mind me seeing your source, try sending me the
program. there should be no problem with name conflict and
such, Win32::GUI has nothing to do with the main namespace.
it uses a tricky AUTOLOAD function, but I don't see how
this could impact your hashes. perhaps a debugging session
would shed some light.


cheers,
Aldo

__END__
$_=q,just perl,,s, , another ,,s,$, hacker,,print;






Re: [perl-win32-gui] hashes/anonymous arrays

2000-10-24 Thread EvanK40767

I already tried using the command line with the -d flag, but to no avail.  
the script (still in progress of course) is attached.

-EvanK

 generator.zip


RE: [perl-win32-gui] hashes/anonymous arrays

2000-10-23 Thread Cornish, Merrill

Try $style1{'a}-[2]

The anonynous arrays are actually array references, hence the need for the
-.

Merrill

 -Original Message-
 From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, October 23, 2000 1:07 PM
 To:   [EMAIL PROTECTED]
 Subject:  [perl-win32-gui] hashes/anonymous arrays
 
 I have a program I wrote (originally for straight command-line type perl) 
 that I'm converting over to use the WIn32::GUI module.  In it, I use 3
 hashes 
 (named %style1, %style2, and %style3), all containing anonymous arrays, to
 
 house a bunch of strings (the program is for making curses-type text).
 Now, 
 for some reason, in straight perl, the hashes work perfectly, but in the
 GUI 
 one, when I try to access a certain one (for instance, $style1{'a'}[2]),
 it 
 doesnt return anything but a blank string.  Now my best guess as to whats 
 wrong is a name conflict with the hashes, but I changed the names and that
 
 doesnt seem to quite work, so I'm stuck.  Any ideas?
 
 -EvanK




Re: [perl-win32-gui] hashes/anonymous arrays

2000-10-23 Thread EvanK40767

nope...its not that.  well, I'm sure I'll figure it out eventually.  thanks 
anyway!

 Try $style1{'a}-[2]
 
 The anonynous arrays are actually array references, hence the need for the
 -.
 
 Merrill
 
  -Original Message-
  From:[EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
  Sent:Monday, October 23, 2000 1:07 PM
  To:  [EMAIL PROTECTED]
  Subject: [perl-win32-gui] hashes/anonymous arrays
  
  I have a program I wrote (originally for straight command-line type perl) 
  that I'm converting over to use the WIn32::GUI module.  In it, I use 3
  hashes 
  (named %style1, %style2, and %style3), all containing anonymous arrays, to
  
  house a bunch of strings (the program is for making curses-type text).
  Now, 
  for some reason, in straight perl, the hashes work perfectly, but in the
  GUI 
  one, when I try to access a certain one (for instance, $style1{'a'}[2]),
  it 
  doesnt return anything but a blank string.  Now my best guess as to whats 
  wrong is a name conflict with the hashes, but I changed the names and that
  
  doesnt seem to quite work, so I'm stuck.  Any ideas?
  
  -EvanK 

-EvanK