Pablo Fischer wrote at Fri, 25 Jul 2003 13:49:55 +:
> I have a string (its an array, the array has the values that $ftp->ls("dir)
> returns), so $array[1] contains this:
> -rw-r--r-- 1 pablopablo 18944 Jul 16 21:14 File28903.zip
>
> What I would like to do is: get the date (Jul 1
Ramon Chavez <[EMAIL PROTECTED]> wrote:
:
: Maybe I'm missing something here but, It can be
: done just using HTML, say...
:
: $h= 250;
: $w= 250;
:
: print "\n";
qq would make much easier to read.
print qq|\n|;
:
: Or maybe you're talking about something more
: complex and at this time
Test
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'm trying to transform this html table to a colon-delimited flat-file
database. This is what I have so far:
HTML:
ACCOUNTANT
$24,701.00
- $51,971.00
INDEFINITE
CONTINENTAL U.S., US
Database Record (wanted):
Accountant:$24,701.00 - $51,971.00:INDEFINITE:CONTINENTAL U.S., US
Regex I have:
$j
Is there a generally accepted way to get the "base" of a filename, i.e.
strip off the multi-letter extension without using any modules? I've been
doing something like this:
$fname = shift;
$fname =~ s/\.[^.]+$//;
It feels a little hokey, though. Maybe it's just me.
TIA.
- B
--
To unsubs
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Douglass Franklin) writes:
>I'm trying to transform this html table to a colon-delimited flat-file
>database. This is what I have so far:
>
>HTML:
>href='http://jsearch.usajobs.opm.gov/summary.asp?OPMControl=IC9516'
>class='jobrlist'>ACCOUNTANT
>
On Fri, 25 Jul 2003 07:57:32 -0500, [EMAIL PROTECTED] (Ramon
Chavez) wrote:
>Maybe I'm missing something here but, It can be done just using HTML, say...
>
>$h= 250;
>$w= 250;
>
>print "\n";
>
>Or maybe you're talking about something more complex and at this time in the
>morning I can't figure out
On Sat, Jul 26, 2003 at 08:24:50AM -0700, Bryan Harris wrote:
> Is there a generally accepted way to get the "base" of a filename, i.e.
> strip off the multi-letter extension without using any modules? I've been
> doing something like this:
>
> $fname = shift;
> $fname =~ s/\.[^.]+$//;
>
> It fe
How can I do this ? Or could it be done ?
Open some files ( unknown number of files ), depends on users demand.
Then start looking for some desired line ( use regex ).
I have an array to carry the info of matched data ( from which file, which line ).
while the $#array is 99 and all files would b
Escape characters that refer to:
\r = carriage return
\n = newline
-Original Message-
From: LI NGOK LAM [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 26, 2003 02:16 PM
To: [EMAIL PROTECTED]
Subject: "\r\n\r\n" or "\n\n" or "\r\n" or "\n"... What is the term / name
for this
Open PERL IDE is a very good PERL dvelopment environment. But it only runs
on Windows. For linux vim or EMACS might be good.
http://open-perl-ide.sourceforge.net/
RD
-Original Message-
From: Trevor Morrison [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 7:54 PM
To: [EMAIL PROTEC
Hello,
I am trying to process a log file. The format of log file is something like
this:
datetimecodeActionDescription
The file can be between 100-200MB. The problem is that we don't know the
code numbers in advance.
I want to count the number of times each code entry occurred in the
Yesterday, [EMAIL PROTECTED] wrote:
> I have been writing perl along with some other languages, and I have been
> thinking about setting up a server (so that I can play with different
> server OS's and settings without messing anything up on our home network).
> My parents think that it will cost
I hope to design an interface of a function like this (not in OO way) :
sub tell_error
{ print "Error for @_" }
sub Check_err
{ my %argv = @_;
}
Check_err ( TYPE => [1, 1, \&tell_error('Type')], DATA => [ 1, 2, \&tell_error
('Data')] );
In Check_err, I want &tell_error ('T
Is that any module can help to detect what is the right new line declaration for the
current system ? Somwhat if the system is detected be Windows, the newline
declaration is "\n", for *nix, is "\r\n" , for Mac and etc.
Thanks in advise
>sub tell_error
>{ print "Error for @_" }
>Check_err ( TYPE => [1, 1, \&tell_error('Type')], DATA => [ 1, 2,
>\&tell_error ('Data')] );
You can't take a reference to a function WITH ARGUMENTS. You must either
do
foo => \&function
or
foo => sub { function(args) }
Since you want to pass a
Douglass Franklin wrote:
>
> I'm trying to transform this html table to a colon-delimited flat-file
Why colon separated? What if one of the fields has a colon?
> database. This is what I have so far:
>
> HTML:
> href='http://jsearch.usajobs.opm.gov/summary.asp?OPMControl=IC9516'
> class='jo
Sayeed Mohammed wrote:
>
> Hello,
Hello,
> I am trying to process a log file. The format of log file is something like
> this:
>
> datetimecodeActionDescription
>
> The file can be between 100-200MB. The problem is that we don't know the
> code numbers in advance.
> I want to count
"John W. Krahn" wrote:
>
> This will work and was tested on the attached page from
> http://jsearch.usajobs.opm.gov/
I see that the file didn't get attached. Here it is:
USAJOBS Job Result List