> Subject: Simple question
> Date: Fri, 8 Aug 2003 07:09:24 -0600
> From: "Trevor Morrison" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
>
> Hi,
>
> I am trying to compare two arrays to find common numbers in both.
For the
> numbers that are not common to both, I want to write them to a file
for
--- "Martin A. Hansen" <[EMAIL PROTECTED]> wrote:
> hi
>
> i wonder how i can list all the methods availible from a given object?
>
> martin
Hi Martin,
The simple answer: You can't. Welcome to Perl.
The long answer: there are a variety of strategies you can use to try and figure this
out,
>From: Tassilo von Parseval [mailto:[EMAIL PROTECTED]
>Subject: Re: data recovery ext3 (was RE: Recover zip file via Archive::Zip)
>
>On Thu, Aug 07, 2003 at 03:09:06PM -0400 West, William M wrote:
>>
>> i am not sure what all the components do anymore- i did not document it
>well
>> :P
>
>Let m
Trevor Morrison wrote:
> HI,
>
> I am trying to use regex to extract the city,state and zip out of a file.
> Now, the problem is the city can have more then one word to it like
>
> San Antonio
>
> San Francisco
>
> etc,
>
> I have also, bumped into case of 4 or 5 words in the city name! I am
Steve Grazzini wrote at Wed, 06 Aug 2003 23:38:00 -0400:
> On Wed, Aug 06, 2003 at 11:49:20PM -0400, perlwannabe wrote:
>> I have made the script as simple as possible and cannot get
>> unlink to work.
>>
>> unlink ("c:\testdir\*030977*.*") || die "unlink failed: $!";
>
> You'd need to expand t
You seemed to have just answered your own question if I completely understand what
you're asking.
@array = qw/1000 50 20 2000/;
$var1 = $array[0]/10; #100
$var2 = $array[1]/10; #2
$var3 = $array[3]/2000; #1
If anything is not clear just say so.
Chris Carver
Pennswoods.Net
Mail Administrator
Jeff,
Thanks for taking the time to look over my problem. In the end, I did end
up using your idea on the map ( scalar reverse). It worked like a champ!
Thanks again.
Trevor
-Original Message-
From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 6:19 PM
T
>> now that i've looked at it, it's really for getting to files that are
>> unlinked etc. so i am not sure it will do you any good.
>
>Partly it might. The only problem with your script is that it cannot
>deal with data that is spanning more than 12 inodes (those were usually
>not in one block
On Wed, 06 Aug 2003 16:13:03 +1000, Dr J wrote:
> Dear Perl gurus,
> Can someone please point me to a Perl distribution (compiler, sample
> scripts, CPAN stuff etc.) for
> MS Windows? Preferably XP (home).
J,
you might want to use the standard perl distribution developed for
Windows. Yo
Doh!!
Makes me humble every time.
Thanks for your help.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 12:54 PM
To: Smith Jeff D; '[EMAIL PROTECTED]'
Subject: RE: Structuring Data in Perl
---
Hi,
thanks,
well MIME is the MOST Difficult module I've seen so far, I didn't use much
module tough :-).
is there any site that has good codes explanation on how to use
MIME::Parser.
The problem I have is that
I get the file into a folder called c:\\gotmail the mimeparser puts into
this folder t
On Friday 08 August 2003 00:13, Randal L. Schwartz wrote:
> No you don't. Referer is easily spoofed, sometimes stripped, and
> sometimes wrong. You can log it, but only a fool would base a
> security mechanism around it.
Well, I'm certainly foolish enough without adding to it. So, does Perl of
[EMAIL PROTECTED] wrote:
> Hi,
>
> I have a couple of arrays which have different number of
> values - I need only the last value in each - are there a command to
> do that?
>
> e.g
>
> $array[LAST] :-)
Negative subscripts count from the end of the array, so the last element is:
$array[-1
I'm wanting to setup a module that will export whatever is in @EXPORT (if anythign)
and ':basic'
IE I want
use Monkey;
To be identical to
use Monkey qw(:basic);
So if I have this on the module which of 3 ways I'm trying to accoomplish that are
valid (if any)?
%EXPORT_TAGS = {
':basi
HI,
I am trying to use regex to extract the city,state and zip out of a file.
Now, the problem is the city can have more then one word to it like
San Antonio
San Francisco
etc,
I have also, bumped into case of 4 or 5 words in the city name! I am
looking for a regex expression that will take t
On Aug 7, Allison, Jason (JALLISON) said:
>#!/usr/local/bin/perl
> printf "Hello World\n";
> printf "ERRNO: %d\n", $!;
># use lib "$ENV{RTM_HOME}/rtm/src/vtm";
># printf "ERRNO: %d\n", $!;
>$ t
>Hello World
>ERRNO: 0
Why are you bothering to look at $! here?
>#!/usr/local/bin/perl
> pri
Dear Perl gurus,
Can someone please point me to a Perl distribution (compiler, sample
scripts, CPAN stuff etc.) for
MS Windows? Preferably XP (home).
I have Goggle'd around and found quite a few, but would like
recommendations from this list. Perhaps
this list has a common preference to a part
Is there any module in Perl can dealing with Procession ID on Win32?
And does Perll able to stop or start a services / application?
Any pointers where I can start from ?
Thank you very much...
> On Aug 7, Martin A. Hansen said:
>
> >print &dump_functions( $obj );
>
> I'd think it's better for dump_functions() to return an array
> ref, and let the end-user decide how to use its contents.
>
> >sub dump_functions {
> >use Data::Dumper;
> >use Class::Inspector;
> >
> >my ( $o
Jose`, your suggestion works fine. Problem solved.
Thanks a lot.
E.
-Original Message-
From: NYIMI Jose (BMB) [mailto:[EMAIL PROTECTED]
Sent: giovedì 7 agosto 2003 17.20
To: Darbesio Eugenio; [EMAIL PROTECTED]
Subject: RE: get http through a proxy authentication
Try
use LWP::UserAgent
Hi all,
I am writing an UI application inPerl/Tk. I have some functions which I am
supposed to run before the application closes. How do I calll this function,
say Funct(), when the user clicks on the close icon of the window?
Sachin
__
> I'm wanting to setup a module that will export whatever is in
> @EXPORT (if anythign) and ':basic'
>
> IE I want
> use Monkey;
> To be identical to
> use Monkey qw(:basic);
>
> So if I have this on the module which of 3 ways I'm trying to
> accoomplish that are valid (if any)?
>
> %EXPORT
22 matches
Mail list logo