Dan wrote:
>
> ok, here's another weird question. i have, in a string, the value (or
> nickname) "][v][orpheus". This gets set to $pnick as such:
>
> $pnick = lc(substr($sockstr[0],1));
>
> which then makes $pnick = "][v][orpheus". lower down the procedure, i have
> an event,
>
> $chandat{$pcha
Hi again all,
Thanks for the help before it worked a treat. What i'm looking to do now
with this file:
ght-Skem
ght-Skem
ght-Skem
hjy-TOB
hjy-TOB
hjy-TOB
etcetc
Aswell as removing the repeated data, i could also do with some type of
count next to the device that shows how many times it
> Not really perl related but maybe someone did the research..
> Programmers spend lots of hours in front of those text editors. What
> colors (background and font) are the best for the eyes (vision)?
>
> thanks,
> Mariusz
I'm sure you can find some medical papers on this on the Net.
http://www.
Textpad (www.textpad.com) is great. It's not free, but it does have syntax
highlighting and you can modify/create your own syntax rules. Multiple
documents open at once, great find/replace and "find in files" features.
If anyone knows of a free text editor with customizable syntax
highlighting,
I have Active Perl installed on Windows 2000, and to run the script, I only
need to type "script.pl". "perl script.pl" works also, but isn't
necessary. On a Windows NT machine I have found that, when using the 'at'
command to schedule a script, I can't use "perl script.pl" or it fails --
"script
nedit is good, www.nedit.org, but you need some third party stuff to make it
run on windows, there is lots on the website to explain how to install/run
on windows.
> -Original Message-
> From: Mariusz [mailto:mkubis22@;hotmail.com]
> Sent: Tuesday, October 22, 2002 7:58 PM
> To: perl
> Sub
Yea Shawn -
ActivePerl sets the windows file association to perl for
..pl files.
I don't know the "at" problem...
I stick to the perl script.pl format because I remember
having problems passing arguments to the script w/the
short form...never got around to finding out why.
Aloha => Beau.
-
Hope this is helpful...
Setting file associations is done by ActivePerl but if you want to use
command line parameters:
go to
My Computer,
View,
Options,
File Types
Edit the file type with the .pl extension,
Edit the 'Open' action
Include %1 %* so that the last por
Hello, All:
I'm confounded by CPAN.pm's documentation. I've already configured the
module but can't figure out how to 'install' a module. e.g., MIME::Lite.
Starting with...
%> perl -MCPAN -e shell
cpan> i MIME/Lite
tells me that there's a distribution called MIME/Lite BUT...
cpan> install
too cool - thanks dave!
-Original Message-
From: Dave K [mailto:dkirol@;erols.com]
Sent: Wednesday, October 23, 2002 3:38 AM
To: [EMAIL PROTECTED]
Subject: Re: How to run -- some notes
Hope this is helpful...
Setting file associations is done by ActivePerl but if you want to use
command
EditPlus is good.
--- Nikola Janceski <[EMAIL PROTECTED]>
wrote:
> nedit is good, www.nedit.org, but you need some
> third party stuff to make it
> run on windows, there is lots on the website to
> explain how to install/run
> on windows.
>
> > -Original Message-
> > From: Mariusz [mailto
Yellow on black is supposedly the most visible color combination to the
human eye. You can give it a try.
-Original Message-
From: Mariusz [mailto:mkubis22@;hotmail.com]
Sent: Tuesday, October 22, 2002 11:48 PM
To: perl
Subject: eyes
Not really perl related but maybe someone did the rese
You can do this from Perl if you wish. What follows is VBA code that does
almost everything you want. You will have to convert it to Win32 Perl. (Hey,
I can't do everything for you.)
What is excluded is info regarding the username and password. This info is
definitely in the Outlook VBA help file.
Mariusz -
Looks like a good perl/tk project :-)
Aloha => Beau.
-Original Message-
From: loan tran [mailto:loan_tr@;yahoo.com]
Sent: Wednesday, October 23, 2002 4:07 AM
To: [EMAIL PROTECTED]
Subject: RE: good text editor
EditPlus is good.
--- Nikola Janceski <[EMAIL PROTECTED]>
wrote:
Hi! I'm just learning PERL, and I love it so far! A friend of mine wants help with a
project that involves moving data to and from a MySQL database via the web, but he
wants to find someone who can do it using PHP. He said that he heard that PHP is
faster and more powerful. Is this true? Ar
My favorite is black (at lease 12 pt) on off-white
(rgb (248,248,238)) - been using it for years - and
I'm really old!
Aloha => Beau.
-Original Message-
From: Michael Hooten [mailto:michael.hooten@;verizon.net]
Sent: Wednesday, October 23, 2002 3:23 AM
To: Mariusz; perl
Subject: RE: eyes
From: [EMAIL PROTECTED]
> I'm confounded by CPAN.pm's documentation. I've already configured the
> module but can't figure out how to 'install' a module. e.g.,
> MIME::Lite.
>
> Starting with...
>
> %> perl -MCPAN -e shell
> cpan> i MIME/Lite
>
> tells me that there's a dis
OK. My apologies. Perhaps a better way to phrase my question would be:
What are the differences between PERL and PHP? What are PERL's strong
points over PHP? I would much rather convince this guy that PERL is just as
good or better than have to learn another language!
Thanks,
Josh
- Orig
Oh boy -
You shouldn't ask a question like that to a bunch of
perl mongers! :)
Maybe more powerful, maybe not.
yes and yes.
I have coded web pages in php for many years before
I got into perl - I like perl better for
one simple reason:
I can get more done in a given amount of time with perl
tha
> Hi! I'm just learning PERL, and I love it so far! A friend of mine
> wants help with a project that involves moving data to and from a
> MySQL database via the web, but he wants to find someone who can do it
> using PHP. He said that he heard that PHP is faster and more
> powerful.
While it m
While it may be faster under some circumstances I would not say it's
more powerfull. The number of modules for Perl is definitely much
bigger than for PHP. Plus PHP is only supposed to be used from Web,
while Perl is a general purpose language. Actually I do not remember
when was the last time I d
Beau and Jenda,
Thank you so much for your kind responses. This clears up alot for me (and
makes me feel a bit better about being a part of this list!)
Thanks,
Josh
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Tue, 22 Oct 2002 22:47:45 -0500, [EMAIL PROTECTED] (Mariusz)
wrote:
>Not really perl related but maybe someone did the research..
>Programmers spend lots of hours in front of those text editors. What colors
>(background and font) are the best for the eyes (vision)?
I don't know about the colo
As others have pointed out outlook is purely a client connecting to, usually
exchange. For the purposes of firing off an email the only M$ option is an
exe called mapisend.exe which is a command line smtp mailer - it is part of
the back office resource kit.
However that is charged for, personally
Hi...
I'm really new on perl and wanna know if there is a good website with
some tutoials and explanations about perl...
I just wanna have flexible rename for many files in my shell...(;
i'm using macosx10.2.1
thanks...
--
Jean-Marie de Crozals
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
http://www.cs.cf.ac.uk/Dave/PERL/
check this out!
for more webpages.. go to google.com
cheers
prävesh
- Original Message -
From: "Jean-Marie de Crozals" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 23, 2002 4:59 PM
Subject: learning...
> Hi...
>
> I'm really ne
Good morning (afternoon?) Jean-Marie,
A lot of us started with www.learn.perl.org .
Once you start baby-perl (not an insult, we all went
thru this stage), this list is an excellent resource.
Of course, Programming Perl, 3rd edition, by Wall, et.al.,
O'Reily (2000) is THE perl book to have (IMHO)
On 10/23/02 11:17 AM, "Beau E. Cox" <[EMAIL PROTECTED]> wrote:
> Good morning (afternoon?) Jean-Marie,
>
> A lot of us started with www.learn.perl.org .
>
> Once you start baby-perl (not an insult, we all went
> thru this stage), this list is an excellent resource.
>
> Of course, Programming Pe
Hi all,
well I use Perl and sometimes PHPdifferences for me are these...
PHP is good for small web projects such as small e-commerce,
guestbooks etc. applications.
Perl is excellent for big web projects such as portals, mainly because
it is more integrated into system than PHP, also you can
Hi all,
I have been requested to repost this message to the begginers group to be worked on
there.
Hopefully someone can give me a clue about a problem I'm having. I'm using the script
below to try to retrieve the web page
"http://inventory.overture.com/d/searchinventory/suggestion/?term="; wi
In article <[EMAIL PROTECTED]>,
I wrote:
>I predict that if you insert
>
> BEGIN { $|=1; print "Content-type: text/plain\n\n" }
>
>after the #! line of that script, you will see something illuminating when
>you next visit it through a browser.
Boy, do I have egg on my face. I didn't pay at
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Michael Hooten) writes:
>Simpler and easier to read:
>@combined = map { ref $_ eq 'ARRAY' ? @$_ : $_ } values %{$hash{family}};
>
>Either dereference the array or return the scalar.
Yes, I'm aware of the 'either' in the posting. However, the exa
My take:
PHP -
many glorious "built-in" functions
easily embedded into HTML
simple to learn, easy to read
simpler documentation
very fast
practically made for database driven sites
more lengthy than perl
weaker system commands
at home on any system
Perl -
many glorious "modules"
difficult to lea
Peter,
I'm really pulling my hair out now. I had tried different timeouts (even the default
of 3 minutes) and still it's not working. Even using your simplified version of the
script as a test I'm still getting that error so there must be something going on on
the Linux box I'm using.
I had th
Hello Matthew,
so Perl is also good that you can implement many more languages such
as c++, also there are many modules at CPAN (swig) for this.
If you want to see our perl implementation look at www.markiza.sk
which was formerly running on PHP and his average load was around
10-20 with PHP, now
In all fairness, it's very easy to write C/C++ extensions for PHP as
well.
George
On Wednesday, October 23, 2002, at 12:02 PM, Martin Hudec wrote:
Hello Matthew,
so Perl is also good that you can implement many more languages such
as c++, also there are many modules at CPAN (swig) for this.
I
PHP is a good templating language, similar to ASP, JSP, etc.
The problem with templating languages is that they're too good. It's
always tempting for the programmer to introduce yet another small piece
of logic into a page.
It extremely difficult with these templating languages to abstract the
va
Totally aggree with you Nigel.
To complete, some of you may give a look to :
http://www.perl.com/pub/a/2001/06/05/cgi.html
Which uses a clear separation between the 3 layers mentioned by Nigel.
José.
> -Original Message-
> From: Nigel Wetters [mailto:nigel.wetters@;rivalsdm.com]
> Sent:
Use PHP Smarty if you want to separate application logic and presentation logic.
See : http://smarty.php.net/manual/en/what.is.smarty.html
José.
> -Original Message-
> From: NYIMI Jose (BMB)
> Sent: Wednesday, October 23, 2002 6:32 PM
> To: Nigel Wetters; [EMAIL PROTECTED]
> Subject: RE
I am trying to use the Proc::Simple module in one of my
scripts--this is my first use of this module and I am a novice Perl scriptor
so bear with me. I am using this function so that I can start a background
or detached process--ultimately an interactive detached process-- and still
return
Trying to get a script to read information from an old access 97 database.
Just looking for a place to start. Is this going to be a DBI/ODBC issue?
or OLE? Just looking for a point in the right direction.
Chris Benco
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
Hey shawn,
My MUA believes you used Lotus Notes Release 5.0.8 June 18, 2001
to write the following on Wednesday, October 23, 2002 at 8:48:41 AM.
sgc> If anyone knows of a free text editor with customizable syntax
sgc> highlighting, I'd like to know about it.
I use both www.vim.org and
> Is this going to be a DBI/ODBC issue?
> or OLE?
Either one.
There is also another way, OLE/ADO if you are familiar with ADO. My
preference would be to stay away from the straight OLE approach unless you
are already familiar with the fairly complex Access API. ...On the other
hand the OLE only
On Wed, 23 Oct 2002 [EMAIL PROTECTED] wrote:
> If anyone knows of a free text editor with customizable syntax
> highlighting, I'd like to know about it.
Sure, try Emacs (it will probably take some getting used to though...
I know it did for me).
Elias
--
Smileys are for the weak-minded
I have used ODBC against Acess 97 with no major problems.
That might be easier than OLE because you can manipulate
the data with plain ol DBI (just don't do anything
fancy).
Aloha => Beau.
-Original Message-
From: Chris Benco [mailto:Chris.Benco@;austinpowder.com]
Sent: Wednesday, October
Chris,
I'm still new to Perl, but here's some code that writes to an Access
database. Maybe it will be a starting point. You will need the
module 'DBD::ODBC', which you can find at search.cpan.org, or, if you have
ppm installed, run ppm and type "install DBD::ODBC".
You will also need to set u
I am working on a Windows NT box and I don't have the luxury of any file
splitting utilities. We have a data file with fixed length records. I was
wondering the most efficient way of splitting the file into 5 smaller files.
Thought ( Hoping :-) ) some one out there may have done something like this
Jonathan Musto wrote:
>
> Hi again all,
Hello,
> Thanks for the help before it worked a treat. What i'm looking to do now
> with this file:
>
> ght-Skem
> ght-Skem
> ght-Skem
> hjy-TOB
> hjy-TOB
> hjy-TOB
> etcetc
>
> Aswell as removing the repeated data, i could also do with some typ
Is this true? Are there other advantages to PHP over PERL?
I guess PHP is a little simpler.
Jenda
yes, yes!, I think so: i've worked with PHP and it is (very) simpler.
but my idea is that you can make more with perl.
adr
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
From: "Kipp, James" <[EMAIL PROTECTED]>
> I am working on a Windows NT box and I don't have the luxury of any
> file splitting utilities. We have a data file with fixed length
> records. I was wondering the most efficient way of splitting the file
> into 5 smaller files. Thought ( Hoping :-) ) some
I have looked on ActiveState, but my beginner eyes didn't see anything that
looked like it was for Oracle. I may have missed it. If someone could
point me in the right direction...
TIA
Shirley
begin 666 InterScan_Disclaimer.txt
M5&AE(&EN9F]R;6%T:6]N(&-O;G1A:6YE9"!I;B!T:&ES(&4M;6%I;"!I3L@:70@;6%
On Wed, Oct 23, 2002 at 01:06:25PM -0400, Smith Jeff D wrote:
[snip]
> There was nothing in the documentation that said it wouldn't run
> under 5.005 but it recommends 5.6.0. Since I'm running this old Resource
> Kit, I want to be sure that I have to upgrade to Perl 5.6 (or 5.8) for this
> m
Dear Gurus :-))
I have the below scenario and very keenly on the look-out for
efficient solutions. Please do put down your expert views (I am pretty new
to Perl and Windows internals).
* I submit jobs(basically proprietary language files) with a command, let's
say "resub".
* The "resub"
Before I re-invent the wheel...
I open a file for output but do not want to overwrite if it exists. It
should be renamed with a serial number as an extension
for example
filename test.txt
rename to
test.001
test.002
test.003
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Analbers, Luc wrote:
Hi,
Can anyone help me?
This is what I try to make:
I do have a Microsoft Access file on the network.
I would like to give our employees the opportunity to fill in a HTML form
(to be created in Dreamweaver) and send (store) the data to the shared
networkdirectory.
Once thi
Hi -
You need the following skills/tools to do this
(it's not too bad):
1) CGI programming (including form handling).
Requires the CGI:: modlue.
2) DBI programing (req DBI::).
3) ODBC setup - req DBD::ODBC and you must setup
an ODBC source in your windows system to point
to your Access
On Wed, 23 Oct 2002, Jenda Krynicky wrote:
> > I'm confounded by CPAN.pm's documentation. I've already configured the
> > module but can't figure out how to 'install' a module. e.g.,
> > MIME::Lite.
>
> Try
> cpan> install MIME::Lite
That was the first thing that I tried. CPAN complained tha
I am doing a POS for a Internet cafe' with 60 workstations .
I would like to sync the POS to check for active IExplorer windows over the
LAN through the MFC or the registry... I em pretty sure that it does store a
session count in the registry.. but could not get to the right key after 2
week of
Elanchezhian Sivanandam wrote:
>
> hi,
Hello,
>i did exported some values inside perl (using shell command
> "export") but didn't get reflected in the shell after execution of the
> script. How to do it???
perldoc -q environment
Found in /usr/lib/perl5/5.6.0/pod/perlfaq8.pod
I
Hi All,
I have a script which accepts input from keyboard,here it is $label_tag, i
want to convert it to upper case, if the input from keyboard is given in
lowercase, in my script?
How to do that?
print "\n\nENTER THE LABEL NAME:\n";
my $label_tag=<>;
chomp$label_tag;
perldoc -f uc
-Original Message-
From: Javeed SAR [mailto:SAR.Javeed@;sisl.co.in]
Sent: Wednesday, October 23, 2002 1:17 AM
To: [EMAIL PROTECTED]
Subject: uppercase
Hi All,
I have a script which accepts input from keyboard,here it is $label_tag, i
want to convert it to upper case, if t
http://lists.perl.org/showlist.cgi?name=perl-xml
José.
> -Original Message-
> From: Melanie Rouette [mailto:mrouette@;omnisig.com]
> Sent: Tuesday, October 22, 2002 10:04 PM
> To: [EMAIL PROTECTED]
> Subject: XML perl mailing list
>
>
> Hi,
> How do I subscribe to the perl xml mailing
ok, here's another weird question. i have, in a string, the value (or
nickname) "][v][orpheus". This gets set to $pnick as such:
$pnick = lc(substr($sockstr[0],1));
which then makes $pnick = "][v][orpheus". lower down the procedure, i have
an event,
$chandat{$pchan}->{nicks} =~ s/\b$pnick//;
$ch
Hi
How can I run perl scrip on windows?
Is ther any software I need to install and what file extension should i use?
Thanks
regards
sentor
--
__
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
--
Simpler and easier to read:
@combined = map { ref $_ eq 'ARRAY' ? @$_ : $_ } values %{$hash{family}};
Either dereference the array or return the scalar.
-Original Message-
From: Peter Scott [mailto:peter@;PSDT.com]
Sent: Tuesday, October 22, 2002 10:51 AM
To: [EMAIL PROTECTED]
Subject: Re
Sorry about the incorrect syntax's, I'll put a little more time into
preparing my question before I send out another one. The problem is now
fixed though.
Thanks for your help,
shawn
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi -
1) get ActiveState perl at http://www.activestate.com/Products/ActivePerl/
click the download button at the upper left, follow the
instructions, use the defaults - easy, fast, simple.
2) normally use the extension .pl for perl scripts.
3) to run your script, open a command prompt and type
James Kipp wrote:
I am working on a Windows NT box and I don't have the luxury of any file
splitting utilities. We have a data file with fixed length records. I was
wondering the most efficient way of splitting the file into 5 smaller files.
Thought ( Hoping :-) ) some one out there may have done
James Kipp wrote:
I am working on a Windows NT box and I don't have the luxury of any file
splitting utilities. We have a data file with fixed length records. I was
wondering the most efficient way of splitting the file into 5 smaller files.
Thought ( Hoping :-) ) some one out there may have done
James Kipp wrote:
I am working on a Windows NT box and I don't have the luxury of any file
splitting utilities. We have a data file with fixed length records. I was
wondering the most efficient way of splitting the file into 5 smaller files.
Thought ( Hoping :-) ) some one out there may have done
James Kipp wrote:
I am working on a Windows NT box and I don't have the luxury of any file
splitting utilities. We have a data file with fixed length records. I was
wondering the most efficient way of splitting the file into 5 smaller files.
Thought ( Hoping :-) ) some one out there may have done
How to combine it back after split???
Regards
j@veed
-Original Message-
From: Todd W [mailto:trw3@;uakron.edu]
Sent: Thursday, October 24, 2002 10:36 AM
To: [EMAIL PROTECTED]; James Kipp
Subject: Re: Splitting A large data file
James Kipp wrote:
> I am working on a Windows NT box
perl -pe "" filename1 filename2 filename3 ... > catted_file
- Original Message -
From: "Javeed SAR" <[EMAIL PROTECTED]>
To: "Todd W" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "James Kipp"
<[EMAIL PROTECTED]>
Sent: Thursday, October 24, 2002 1:15 AM
Subject: RE: Splitting A large data file
Javeed Sar wrote:
>
How to combine it back after split???
perl -e 'print <>' splitfile.1 splitfile.2 splitfile.3 splitfile.4
splitfile.5 > splitfile.new.txt
note the ordering is different, because the program below sends the next
record to the next filehandle in a circle. The above one lin
Also, there is a CPAN utility for doing this
http://search.cpan.org/author/SDAGUE/ppt-0.12/bin/split
- Original Message -
From: "Todd W" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 24, 2002 1:36 AM
Subject: Re: Splitting A large data file
>
>
> Javeed Sar wrote:
>
Tanton Gibbs wrote:
Also, there is a CPAN utility for doing this
Yeah, I forgot to mention again that Im just playing around. Always do a
a search at http://search.cpan.org/ before you design your own solution
because chances are that someone has already solved your problem. Other
than for
Hi -
I couldn't find an easy way either, but...
I cranked out a simple c program that does
a EnumWindows call, and prints the result to the
console - it should work for you.
I put it on my ftp site:
ftp://beaucox.com
It's in the directory /pub/findwin -
look at the readme.txt and source for
ve
Hi there .. i know this question doesn't really belong to this list .. but
does anyone have any idea if the standard IO functions in glibc 2.2.2-10 are
thread safe? Thanks a lot ...
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
i split one perl script, it got split ,i combined it , it's not working???
Though the siza are same.
what is the problem.
Regards
j@veed
-Original Message-
From: Tanton Gibbs [mailto:thgibbs@;deltafarms.com]
Sent: Thursday, October 24, 2002 11:12 AM
To: [EMAIL PROTECTED]
Subject: Re:
What happens if you diff the file
diff file1 file2
- Original Message -
From: "Javeed SAR" <[EMAIL PROTECTED]>
To: "Tanton Gibbs" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, October 24, 2002 2:18 AM
Subject: RE: Splitting A large data file
> i split one perl script, it got s
You can probebly make it work with open, I am nto sure how to. This will
work...
#!/usr/local/bin/perl -w
use Fcntl; # for perm constants
use Errno; # for errno constants
unless ( sysopen ($FH,"test.txt",O_WRONLY|O_CREAT|O_EXCL, 0744) ){
if( $!{EEXIST} ){
print "file exists \n ";
# rename it
81 matches
Mail list logo