query on dynamic

2008-12-02 Thread p sena
Hi,

Could someone pls explain me behind the hood thing for --
$x = "041"
$y = 12
then $z = $x + $y, how this comes to be numeric addition. This will also be 
seen for any number of those initial zeros in $x and may also exist in similar 
way in $y too. I believe this comes for dynamic languages prop ? If this is so 
then can one do arithmetic(inclusive of comparison tests) freely on such 
situations, without taking into concern whether the $x (for example) above 
comes with zero perpended (for cases of digits from 0-9) or is a two digit 
number itself (like numbers > 10) ? I mean I can do 04 + 12, 00104 + 01, 0101 + 
2.50, 044.25 + 02.50 etc..

Cheers-

  Regards & Thanks


  

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re: Attempting to Install Net::SSH2 on Activestate 5.8.7 build 815 (Sameproblem as this thread "Net::SSH2 v0.18")

2008-12-02 Thread Sisyphus

- Original Message - 
From: "Gregory J. Donaldson" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, December 03, 2008 10:15 AM
Subject: Attempting to Install Net::SSH2 on Activestate 5.8.7 build 815 
(Sameproblem as this thread "Net::SSH2 v0.18")


Hello,

I am running into the exact same problem that was outlined in the thread 
titled "Net::SSH2 v0.18".  I am running on an old version of perl 
Activestate 5.8.7 build 815 and have tried to install Net::SSH2.  I am now 
getting the Perl_sv_2iv_flag error.  Unfortunately, at this point upgrading 
Perl is not possible.

I was wondering if I could get a copy of SSH2.dll built with 5.8.0.  There 
was a reference that it might get loaded onto the uwinnipeg repository but 
if it was I couldn't find it.

=

You should be able to install it with:
ppm install http://theoryx5.uwinnipeg.ca/ppms/Net-SSH2.ppd

(Please let me know if there's a problem with that  there shouldn't be 
:-)

Cheers,
Rob

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re: Attempting to Install Net::SSH2 on Activestate 5.8.7 build 815 (Same problem as this thread "Net::SSH2 v0.18")

2008-12-02 Thread listmail
In a separate email I forwarded the rebuilt dll provided by sisyphus to 
your email.  I do not know the status on the rebuilt package as I didn't 
need it.

Gregory J. Donaldson wrote:
> Hello,
>  
> I am running into the exact same problem that was outlined in the 
> thread titled "Net::SSH2 v0.18".  I am running on an old version of 
> perl Activestate 5.8.7 build 815 and have tried to install Net::SSH2.  
> I am now getting the Perl_sv_2iv_flag error.  Unfortunately, at this 
> point upgrading Perl is not possible. 
>  
> I was wondering if I could get a copy of SSH2.dll built with 5.8.0.  
> There was a reference that it might get loaded onto the uwinnipeg 
> repository but if it was I couldn't find it.
>  
> Thanks,
>  
> Gregory
> 
>
> ___
> Perl-Win32-Users mailing list
> Perl-Win32-Users@listserv.ActiveState.com
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>   

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Attempting to Install Net::SSH2 on Activestate 5.8.7 build 815 (Same problem as this thread "Net::SSH2 v0.18")

2008-12-02 Thread Gregory J. Donaldson
Hello,

I am running into the exact same problem that was outlined in the thread titled 
"Net::SSH2 v0.18".  I am running on an old version of perl Activestate 5.8.7 
build 815 and have tried to install Net::SSH2.  I am now getting the 
Perl_sv_2iv_flag error.  Unfortunately, at this point upgrading Perl is not 
possible.  

I was wondering if I could get a copy of SSH2.dll built with 5.8.0.  There was 
a reference that it might get loaded onto the uwinnipeg repository but if it 
was I couldn't find it.

Thanks,

Gregory___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: Adding to the perl include search path

2008-12-02 Thread Jan Dubois
On Tue, 02 Dec 2008, Michael Ellery wrote:
> What's the best way to add a new path to perl's @INC search path? Our
> product installs several perl modules and I would like to make those
> modules available to all perl scripts without asking users to add the
> 'use lib "mypath"' business in every script. I'm only concerned with
> windows (Activestate) perl at this point, but a solution that worked
> generally would be fine too.

Set the PERL5LIB environment variable to point to your directory (see
`perldoc perlrun` for details.

Cheers,
-Jan

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: AdminMisc and hard drive recognition

2008-12-02 Thread Brian Raven
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 02 December 2008 15:52
To: perl-win32-users@listserv.ActiveState.com
Subject: AdminMisc and hard drive recognition

> Hi, list. 
> 
> My PC has two physical hard drives. I'm trying to use Win32::AdminMisc
to read the individual sizes and 
> cylinder, sector, and head counts for them. Unfortunately, I can't
seem to find info on this module. Is there 
> some way to get code to recognize that there are two physical drives
present and report them separately? Is 
> there some way to get actual values for C/H/S? Or am I just wasting
your time again? 
> 
> I've got working code that assumes (yes, I know) that a workstation
will have only one physical drive and 
> reports the two as being "logical drives" (partitions, I'm guessing?).
I'd rather not post it at this time. 
> BUT, I'm not asking you folks to write the code for me, just a pointer
in the right direction...that direction > being information on
Win32_AdminMisc. 

> I've looked on MSDN, but its index goes right from Win32_ActiveRoute
to Win32_AllocatedResource, Win32
> _AdminMisc should be right between them, shouldn't it? Or am I looking
up the wrong tree? 

I came across this one recently...

http://letmegooglethatforyou.com/?q=WIn32%3A%3AAdminMisc

... well, it amused me for a few seconds.

-- 
Brian Raven 

---
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient or have received this e-mail in error, please advise 
the sender immediately by reply e-mail and delete this message and any 
attachments without retaining a copy. Any unauthorised copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.


___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Adding to the perl include search path

2008-12-02 Thread Michael Ellery
Win32 users:

What's the best way to add a new path to perl's @INC search path?  Our
product installs several perl modules and I would like to make those
modules available to all perl scripts without asking users to add the
'use lib "mypath"' business in every script. I'm only concerned with
windows (Activestate) perl at this point, but a solution that worked
generally would be fine too.

Thanks,
Mike Ellery

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: AdminMisc and hard drive recognition

2008-12-02 Thread Paul Rogers
http://www.roth.net/perl/adminmisc
 
See the functions: GetDrive*
 
But I don't think cylinder/head/sector info will be available from within
the OS.
 
J
Paul ---
 
 
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2008 10:52 AM
To: perl-win32-users@listserv.ActiveState.com
Subject: AdminMisc and hard drive recognition
 

Hi, list. 

My PC has two physical hard drives. I'm trying to use Win32::AdminMisc to
read the individual sizes and cylinder, sector, and head counts for them.
Unfortunately, I can't seem to find info on this module. Is there some way
to get code to recognize that there are two physical drives present and
report them separately? Is there some way to get actual values for C/H/S? Or
am I just wasting your time again? 

I've got working code that assumes (yes, I know) that a workstation will
have only one physical drive and reports the two as being "logical drives"
(partitions, I'm guessing?). I'd rather not post it at this time. BUT, I'm
not asking you folks to write the code for me, just a pointer in the right
direction...that direction being information on Win32_AdminMisc. 

I've looked on MSDN, but its index goes right from Win32_ActiveRoute to
Win32_AllocatedResource, Win32_AdminMisc should be right between them,
shouldn't it? Or am I looking up the wrong tree? 

TIA, 

Deane Rothenmaier
Programmer/Analyst
Walgreens Corp.
224-542-5150

The chief cause of problems is solutions. - Eric Sevareid
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


AdminMisc and hard drive recognition

2008-12-02 Thread Deane . Rothenmaier
Hi, list.

My PC has two physical hard drives. I'm trying to use Win32::AdminMisc to 
read the individual sizes and cylinder, sector, and head counts for them. 
Unfortunately, I can't seem to find info on this module. Is there some way 
to get code to recognize that there are two physical drives present and 
report them separately? Is there some way to get actual values for C/H/S? 
Or am I just wasting your time again?

I've got working code that assumes (yes, I know) that a workstation will 
have only one physical drive and reports the two as being "logical drives" 
(partitions, I'm guessing?). I'd rather not post it at this time. BUT, I'm 
not asking you folks to write the code for me, just a pointer in the right 
direction...that direction being information on Win32_AdminMisc. 

I've looked on MSDN, but its index goes right from Win32_ActiveRoute to 
Win32_AllocatedResource, Win32_AdminMisc should be right between them, 
shouldn't it? Or am I looking up the wrong tree?

TIA,

Deane Rothenmaier
Programmer/Analyst
Walgreens Corp.
224-542-5150

The chief cause of problems is solutions. - Eric Sevareid___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs