Jose Malacara wrote:
>> opendir(DIR, 'data') ...
>
> This allows me to grab the correct file names from within the 'data'
> directory, but I guess that my problem happens when the script
> actually goes to parse those files that it only looks for the
> filenames locally, rather than in the actual '
R. Joseph Newton wrote:
> Rob Dixon wrote:
>
>>
>> my ( $path, $file ) = ( $fullpath =~ /(.*)\/(.*)/ );
>>
>
> Ah, but that would be cracking the egg at the small end, which only a
> barbarian would do )( ;o })
No, not a barbarian, just a rebel. I slice my hot-dog buns on the flat
as well :)
Kasi ramanathen wrote:
> by using this code i get the right answer, but i want to store the
> pattern in the variable and use it, for pattern, it fails. what is
> the problem. is it related to priority of operator.
>
> open(IH, " @a=();
> $v=join(' ',@a);
same as
$v = "@a";
> while($v=~m/href
Rob Dixon made a couple of mistakes in writing:
>>
>> closedir(DIR);
>
> Do this after you've finished reading it.
(meaning 'directly after you've finished reading the directory' :)
> This should work roughly as intended. If you need to know what
> your current working directory is,
>
> use C
On Thu, 6 Feb 2003 12:24:51 -, "Rob Dixon" <[EMAIL PROTECTED]> wrote:
> R. Joseph Newton wrote:
> > Rob Dixon wrote:
> >
> >>
> >> my ( $path, $file ) = ( $fullpath =~ /(.*)\/(.*)/ );
> >>
> >
> > Ah, but that would be cracking the egg at t
[EMAIL PROTECTED] wrote:
>
>
> You brits, can't you get your hot dog buns pre-sliced over there? ;-)
>
Not arrogant, just qq[having "self-power" awareness] :)
Believe it or not, our 'Sainbury's' supermarket started pre-slicing
their hot-dog buns
hi,
"Premature end of script headers"
what can this mean...it's in the error log. When does this happen? I got error 500
when executing script.
Martin
NAME
beginners-faq - FAQ for the beginners mailing list
1 - Administriva
1.1 - I'm not subscribed - how do I subscribe?
Send mail to <[EMAIL PROTECTED]>
You can also specify your subscription email address by sending email to
(assuming [EMAIL PROTECTED] is your email address):
Hi All
I have a require statement that is run by my main program but I get a error
"did not return a true value at ./connecttime.pl line 26, line
11811302." connecttime.pl is the main program and the script it is executing
this to do pattern matching on the file that is passed to connecttime.p
Benjamin Jeeves wrote:
> Hi All
>
> I have a require statement that is run by my main program but I get a
> error "did not return a true value at ./connecttime.pl line 26,
> line 11811302." connecttime.pl is the main program and the
> script it is executing this to do pattern matching on the file
Zegdatwel wrote:
> hi,
>
> "Premature end of script headers"
>
> what can this mean...it's in the error log. When does this happen? I
> got error 500 when executing script.
Check the permission settings on your script. try chmod 755.
HTH,
Rob
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi,
I did telnet ..i got following error
-
C: telnet ivhpxc0003.ap.bdi.gte.com 25
Connecting To ivhpxc0003.ap.bdi.gte.com...Could not
open a connection to host on port 25 : Connect failed
C:telnet ivhpxc0003.ap.bdi.gte.com
Connecting To ivhpxc0003.ap.bdi.gte.com...Could not
open a connec
Sean:
I had all sorts of problems with this on NT. Works great on Unix. To FTP to
NT:
Needs Microsoft IIS (Option Pack?) installed.
Once this is set up, the following changes need to be made:
q Start up the Microsoft Management Console - Start, Programs, Windows NT
4.0 Option Pack, Microsoft Inter
I need to construct a working printf statement where each field in a given
record
would print at a specified position.
Each record may or may not contain any particular field but will always
begin with .VENDOR.LIBRARY. and end with .VENDOR.XINFO.END.
Hope springs eternal for this novice perl scri
can anyone point in the direction of converting sasdata sets into text
files?
thanks
--
Benjamin F. Jurado
IT&E
GMU
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Gorden-Ozgul, Patricia E wrote:
> I need to construct a working printf statement where each field in a
> given record
> would print at a specified position.
>
> Each record may or may not contain any particular field but will
> always begin with .VENDOR.LIBRARY. and end with .VENDOR.XINFO.END.
>
I tried telnetting to that host on port 25, it exclaimed "host could not be
found". Seems that's your problem.
With regards to NET::SMTP and Net::SMTP, since it's on windows, case doesn't
really seem to matter.
Dan
"Madhu Reddy" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL
Hi all
I have a statement a bit like this
while ( )
{
do "netbios.pl";
do "udp_port137.pl";
and so on
but the second do statement does not execute can anyone tell me why?
--
Thank You
Benjamin Jeeves
--
To unsubscribe
Are you absolutely sure that this is your email server? Are you using a
program like Outlook or Outlook Express, Eudora, Netscape Mail, etc? If so,
you should be able to look in your settings for that program to find the
SMTP server that it is using.
-Original Message-
From: Madhu Reddy
Thanks Bob, and thanks RF. I used seek and tell, and now have the data
as part of a module.
Paul
On Wed, Feb 05, 2003 at 05:13:24PM -0500, Bob Showalter wrote:
> From: Bob Showalter <[EMAIL PROTECTED]>
> To: 'Paul Tremblay' <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Subject: RE: how to set up Ma
Patricia E Gorden-Ozgul wrote:
> I need to construct a working printf statement where each field in a
> given record would print at a specified position.
Hi Pat.
I've been amusing myself with your problem for an hour or so, and
although I don't in general approve of handing out ready-made
solutio
On Thu, 6 Feb 2003 17:09:40 -, "dan" <[EMAIL PROTECTED]> wrote:
> I tried telnetting to that host on port 25, it exclaimed "host could not be
> found". Seems that's your problem.
>
Not necessarily, unless you are on the same local network as
Benjamin Jeeves wrote:
> Hi all
>
> I have a statement a bit like this
>
> while ( )
> {
> do "netbios.pl";
> do "udp_port137.pl";
> and so on
>
> but the second do statement does not execute can anyone tell me why?
The program will halt if netbios.pl has an 'exit' or 'die' statement,
but
it's al
... without encapsulating each line in double quotes? I've seen this, and
don't know where.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This script is running where my e-mail client is
(MicroSoft Look)...
I am not running on remote..
I am running on localNetwork
I am using Microsoft Outlook 2002
I used following procedure to get the my-email server
name
-
1. On Outlook "Tools>options>Mail
Setup===>E-mail Accoun
On Feb 6, Jamie Risk said:
>... without encapsulating each line in double quotes? I've seen this, and
>don't know where.
With a here-doc:
print << "END OF BLOCK";
stuff
END OF BLOCK
Or with a different quoting character:
print qq{
this text is nice
isn't it?
};
--
Jeff "japhy" Pinyan
It sounds like your network administrator might not be allowing you to use
the SMTP relay internally on your Exchange server. You'll probably have to
take that up with him/her. Exchange is different from SMTP but does support
SMTP.
-Original Message-
From: Madhu Reddy [mailto:[EMAIL PRO
print qq(
This is all going to "be printed"
and so is this
and this\n
);
or
print< cc: (bcc: Brent
Michalski/STL/MASTERCARD)
Sent by: newsSubject: How does one print blocks of
text ..
Hi,
using IO:SOCKET I have written a server daemon that listens on a
particular port. Is there a module that I can use in my code to encrypt
traffic between the client and server ?
Thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I am trying to use PGP to decrypt an encrypted file and store the
standard output of the decryption into several hashes so that I can use
the hashes in a password recall script.
Example: if you put in a servers name it will tell you the password for
that server. the server will be associated with
How would I split, then push onto a list a variable length text string
with quoted portions (example following) so that a split keeps text
in quotes together.
"keep me together" separate1 separate2 separate3 "keep me together too"
separate4
If the above were parsed, I should like to see six sep
Never mind, although perhaps someone can explain what "split(/''/)" is
doing. It satisfies my needs, but I don't know why (emphasis on the '' bit
between the / /).
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Jamie Risk wrote:
> How would I split, then push onto a list a variable length text string
> with quoted portions (example following) so that a split keeps text
> in quotes together.
>
> "keep me together" separate1 separate2 separate3 "keep me together
> too" separate4
>
> If the above were p
I have a number of files which I have transferred from another
system. I am trying to read the data, but running into a problem when I hit
what is a negative number (Each field is 4 characters in length).
Here is the unpack:
@MyWorka = unpack("a8Nsa6a10ssa52H8a4H8H
Jeff 'Japhy' Pinyan wrote:
> On Feb 6, Jamie Risk said:
>
>> ... without encapsulating each line in double quotes? I've seen
>> this, and don't know where.
>
> With a here-doc:
>
> print << "END OF BLOCK";
> stuff
> END OF BLOCK
Note that the quotes around the end marker string affect how the
body
Bob Showalter wrote:
> Jamie Risk wrote:
> > How would I split, then push onto a list a variable length text
> > string with quoted portions (example following) so that a split
> > keeps text in quotes together.
> >
> > "keep me together" separate1 separate2 separate3 "keep me
> > together too"
David --- Senior Programmer Analyst --- Wgo Wagner wrote:
> I have a number of files which I have transferred from another
> system. I am trying to read the data, but running into a problem when
> I hit what is a negative number (Each field is 4 characters in
> length).
>
> Here is the unpack:
>
>
Bob Showalter wrote:
> Just for kicks, here's a way to do it using split(). Text::CSV_XS is
> still recommended, as it can deal with unbalanced quotes, escaped
> embedded quotes, etc.
>
> $ perl -le 'print for map { /"(.*)"/ ? $1 : split " ", $_ } split
> /(".*?")/, q["keep me together" separate1 s
Okay, I do know that binary transfer of a text file between DOS and Unix
systems is a non-non, but my Samba setup isn't that discriminating.
Perl is running on a Unix platform, and 'chomp' isn't quite up to the task
of removing CR (ASCII '\r' or 0x0D).
So I tried:
s/(.+)[ \t\n\r]*/$1/
but those
> So I tried:
> s/(.+)[ \t\n\r]*/$1/
> but those tricky little CR are still there. Even
> s/(.+)[ \t\n\r\015]*/$1/
> still eludes me.
And then I tried:
s/([^\n\r]+)[ \t\n\r]*$/$1/;
which does work, but seems overly finicky to get rid of BG's legacy. Is
there a better way?
--
To unsubscr
>
>
> Okay, I do know that binary transfer of a text file between
> DOS and Unix
> systems is a non-non, but my Samba setup isn't that discriminating.
>
> Perl is running on a Unix platform, and 'chomp' isn't quite
> up to the task
> of removing CR (ASCII '\r' or 0x0D).
> So I tried:
> s/(.+)
I would suggest Stat/Transfer, www.stattransfer.com or DBMS/Copy.
Best,
Jean Roth
National Bureau of Economic Research
www.nber.org/data
Date: Thu, 6 Feb 2003 11:30:19 -0500 (EST)
From: Benjamin Jurado <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: sasdata set
can anyone point in the direc
From: "dan" <[EMAIL PROTECTED]>
> With regards to NET::SMTP and Net::SMTP, since it's on windows, case
> doesn't really seem to matter.
>
> Dan
Wrong. There are some modules that do not care whether you use the
right case, but most modules will not work correctly.
The reason is that the use sta
Jamie Risk wrote:
> Okay, I do know that binary transfer of a text file between DOS and
> Unix systems is a non-non, but my Samba setup isn't that
> discriminating.
>
> Perl is running on a Unix platform, and 'chomp' isn't quite up to the
> task of removing CR (ASCII '\r' or 0x0D).
It is if you
Hello,
I am dealing with text files of sizes > 2 GB. I have to modify just the top 2 lines
of such files. Is there a way in Perl to modify just the first 'n' lines of the file
without having to process rest of the file as it involves a lot of IO and time.
Thanks,
Siva.
__
Hi All
When I run this code it will execute the first do statement but does not
execute the 2.3.4 do statment but it show me no errors I can see no errors
can you help
while ( )
{
unless ($return = do $udpport137)
{
Patricia E Gorden-Ozgul wrote:
>
> I need to construct a working printf statement where each field in a given
> record would print at a specified position.
>
> Each record may or may not contain any particular field but will always
> begin with .VENDOR.LIBRARY. and end with .VENDOR.XINFO.END.
>
On Feb 6, Jamie Risk said:
>How would I split, then push onto a list a variable length text string
>with quoted portions (example following) so that a split keeps text
>in quotes together.
>
> "keep me together" separate1 separate2 separate3 "keep me together too"
>separate4
>
>If the above were
Sashidhar wrote:
>
> Hello,
Hello,
> I am dealing with text files of sizes > 2 GB. I have to modify just the top 2 lines
> of such files. Is there a way in Perl to modify just the first 'n' lines of the file
> without having to process rest of the file as it involves a lot of IO and time.
It de
I may have to change the length of the files. Is there no way, like manipulating the
inode entries to reflect any changes in the length. Ofcourse, I realize that this is
specific to the linux/unix env.
--- "John W. Krahn" <[EMAIL PROTECTED]> wrote:
> Sashidhar wrote:
> >
> > Hello,
>
> Hello,
>
A bit confused...
Hodgkinson, Bill (MED) wrote:
I am trying to use PGP to decrypt an encrypted file and store the
standard output of the decryption into several hashes so that I can use
the hashes in a password recall script.
Are you saying you want to call pgp command line and store what it
p.s. Providing your version of PGP and what environment you are running
this in may help as well. For instance GnuPG on Linux RH 8.0, NAI PGP on
Win 2000
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have been looking to see if a port of
PERL (any PERL!) exists for the IPAQ.
Could someone tell me yay/nay/where?
What I have found so far is that PERL
makes it's way into these devices via
Linux. Is this the only way?
Thanks in advance.
-- Mark
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
That's it !
thanks,
Martin
- Original Message -
From: "Rob Dixon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 06, 2003 3:28 PM
Subject: Re: Premature end of script headers
> Zegdatwel wrote:
> > hi,
> >
> > "Premature end of script headers"
> >
> > what can thi
Hello,
I've been having size problems with balloons. In the example below,
the first balloon to appear is the size of my main window. After that
balloon closes, future balloons are sized according to their contents.
In another script I'm working on, the balloons always stay the size of
the main
Has anyone used this?
It seems that rather than authenticating once and then keeping the same
socket open for further commands it is looking to authenticate for every
command, however other than the validate_password command I can't see
where to put the password string in.
I've tried
$winamp = W
I have noticed over the last year or so that Amazon.com likes to spam
the jobs.perl.org list periodically, sometimes repetitively with the
same job posting, and I am curious, has *anyone* in the Perl community
actually been contacted by them? Anyone outside of the Seattle area?
Right now I am
Sashidhar wrote:
>
> --- "John W. Krahn" <[EMAIL PROTECTED]> wrote:
> > Sashidhar wrote:
> > >
> > > I am dealing with text files of sizes > 2 GB. I have to modify just the top 2
> > > lines of such files. Is there a way in Perl to modify just the first 'n' lines
> > > of the file without having t
Clark, Mark wrote:
I have been looking to see if a port of
PERL (any PERL!) exists for the IPAQ.
Could someone tell me yay/nay/where?
What I have found so far is that PERL
makes it's way into these devices via
Linux. Is this the only way?
Running WinCE??
http://www.rainer-keuchel.de/wince/
Wiggins D'Anconia wrote:
>
> I have noticed over the last year or so that Amazon.com likes to spam
> the jobs.perl.org list periodically, sometimes repetitively with the
> same job posting, and I am curious, has *anyone* in the Perl community
> actually been contacted by them?
Perhaps you should
John W. Krahn wrote:
Wiggins D'Anconia wrote:
I have noticed over the last year or so that Amazon.com likes to spam
the jobs.perl.org list periodically, sometimes repetitively with the
same job posting, and I am curious, has *anyone* in the Perl community
actually been contacted by them?
Perh
hi -
quick question:
i want to take a chunk of text and convert anything that's a link to
something clickable in the browser. (this is being used in 'request
tracker', if anyone's interested.)
there's already a chunk of code that does this:
sub print_html{
my ($value) = shift;
my %map =
Rob Dixon wrote:
> Hi again Kasi. Still not using /x ? ;-)
>
> Look:
>
> print my $t="href=\"(.*?)\">";
> outputs
> href="(.*?)">
H. this gets me thinking. How does that translate into a regex when such a
variable is passed in? Would Perl do the escaping and feed the regex someth
Benjamin Jeeves wrote:
> Hi All
>
> I have a require statement that is run by my main program but I get a error
> "did not return a true value at ./connecttime.pl line 26, line
> 11811302." connecttime.pl is the main program and the script it is executing
> this to do pattern matching on the file
> "Hohokus" == Hohokus Wombat <[EMAIL PROTECTED]> writes:
Hohokus> i want to take a chunk of text and convert anything that's a link to
Hohokus> something clickable in the browser. (this is being used in 'request
Hohokus> tracker', if anyone's interested.)
Hohokus> there's already a chunk of
65 matches
Mail list logo