Windows 7

Perl Regular Expression

Tag: /vobtags/asn1_vob
Tag: /vobtags/DHE
Tag: /vobtags/common_vob
Tag: /vobtags/DHE_proj
Tag: /vobtags/DLIC12
Tag: /vobtags/DLIC12tmp
Tag: /vobtags/DLIC_new
Tag: /vobtags/DLICtmp
Tag: /vobtags/dsic_vob
Tag: /vobtags/Enterprise
Tag: /vobtags/enterprise_vob
Tag: /vobtags/heartbeat_vob
Tag: /vobtags/IMF
Tag: /vobtags/IP505GUI

This is my input file, I like to grep second "/" from end of the line and store it into array?
how can i accomplish this task, Am newer to perl? could u help me?

perl executable generated by PerlApp fails with LWP authentication

Hi,

I wrote a perl program (Active perl 5.16.3 32 bit) that will authenticate to an intranet server and query some details. I want to buy the PDK and built Exe so that my colleagues can execute without installing perl/modules.

After compile, when i test with the exectuable, it fails to read the web page (web page returns error 302). The perl script is fine.

Any suggestion pls?.

The code is :

#! /usr/bin/perl -w
use strict;
require LWP::UserAgent;
use HTTP::Headers;
use HTTP::Cookies;
use HTML::Form;
use Crypt::SSLeay;
use MIME::Base64;
use JSON;
use Data::Dumper;

RESOLVED SITE ISSUE (was "getting HTTP 503 Status code")

Trying to install Window Expect by running teacup install Expect command for Win7 and getting the following:

C:\Tcl\bin>teacup install -v Expect
Resolving Expecthttp://teapot.activestate.com: Retrieving remote INDEX status ..
.
http://teapot.activestate.com: Got Status Failed
http://teapot.activestate.com: Got Status = 503 (503 Service Temporarily Unava
ilable Service Temporarily Unavailable The server is temporarily unable to servi
ce your
request due to maintenance downtime or capacity
problems. Please try again later. Apache/2.2.3 (CentOS) Server at teapot.actives

RESOLVED SITE ISSUE (was "403 Forbidden Error When Installing Crypt-SSLeay")

When I try to install the module Crypt-SSLeay, I get the message "install failed: 403 Forbidden". I've tried installing from ppm gui and from the ppm prompt and get the same results in both places. Any suggestions?

I am using Perl version 5.14.2 and PPM version 4.14 on a Windows 7 64 bit laptop.

Thank you

ActivePerl, Windows Script Host/ActiveX and Unicode

Hello list,

[note: I've tried posting this to the Perl-Win32-Users mailing list, but the list is having problems creating new subscriptions].

I need some help/clarification with Win32::OLE and Window Script Host / ActivePerl, and Unicode from and more importantly back to a calling program.

A program I use (Directory Opus) supports doing renames via Windows Script Host (VBScript, JScript, PerlScript/ActivePerl). The perl script I’ve written accepts some file names as input, and returns transformed file names as output.

I have set

Win32::OLE->Option(CP => CP_UTF8)

PyScripter Installation

I am a beginner and interested in Python. I've downloaded the 3.3 version and everything seems to be OK. I would like to try PyScripter as an IDE and would like to know if there is any reason I can't download it, install it, and use it with the ActiveState version of Python.

Can't download Tk ppm for Perl 5.14 64-bit

Hi,

I have been trying to download the Tk ppmx from the site but it keeps failing with a:

An error occurred during a connection to ppm4-be.activestate.com.

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)

Can any give me some clues on this? Or is there another location to download that ppmx?

Thanks,

Russ

Can't locate arybase.pm in @INC

Hi all,

I have been using active state perl for over 8 years.
The person that setup the dev servers have since left.

We purchased the latest version of PDK.
I installed a new server with PDK 9.2.1 and Perl 5.16.3

The PERLLIB ENV is set to c:\Perl64\site\lib and c:\Perl64\lib

When I compile the perl script to exe everything works fine.
When I execute the script I get the following error:

Can't locate arybase.pm in @INC (@INC contains: C:\dev\perl\) at /Net/Telnet.pm line 536

It is almost like the compiler don't add the libraries to the exe.

Error Message "Can't load 'C:/Perl64/lib/auto/DBD/Oracle/Oracle.dll" While Connecting to Oracle

I am trying to configure an Oracle connection from Perl running on a Windows 7 desktop to an Oracle 11g database running on Linux; however the database connection step is failing.

The following line of perl code fails:

use DBD::Oracle;

The full error message is:

Can't load 'C:/Perl64/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle: load_file:%1 is not a valid Win32 application at C:/Perl64/lib/DynaLoader.pm line 191. at C:\go\perl\tracker\pingOracle.pl line 17.

The following line of perl code fails with a similar error message:

Can I use PPM with Strawberry Perl?

I have been programming computers since 1967, hence the name PapaGeek. I am well versed in visual studio C++ and C#, but I am a relative Perl newbie.

I am working with Strawberry Perl, Eclipse, and Epic on Windows 7. The PPM package with Strawberry Perl, to be as polite as possible, sucks!

Can I run the Active State PPM process with my Strawberry Perl? If so, what are the steps that I need to follow to properly install it? Again, you are talking to a newbie, so write the answer like a chapter in “Perl for Dummies”.

Thanks in advance for any assistance.

Papa Geek