Hi,
I want to highlight a string in my output.For
example consider the output "welcome to perl".I want
to highlight the string perl in this output.Could
Anyone help me in this regard?
visu
__
Do You Yahoo!?
Get personalized email addresses from Ya
Subject: simple Telnet or vi editor problem
>
>
> I am using vi editor on telnet. After typing in 25 or so lines the next
lines are not shown though they are savedstupid question but
not getting it..whats the command so that they are shown on
editor..
> Waiting for
What is the best way to compare hash of arrays against each
other? Actually, a better way to ask my question would be...
I have a hash called %player_info that contains 4 elements per hash
reference. I want to compare just the key of the hash against against
another hash that I will build fr
Apache 1.3.19
>Also remember to ALWAYS use strict and -w, no matter how trivial the
script.
Ok - I will, but why is it important?
thanks
Tom
-Original Message-
From: Scott Carmichael [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 20, 2001 12:15 AM
To: [EMAIL PROTECTED]
Subject: RE: stup
Because the webserver software isn't configured to execute the .pl
extension. It doesn't know what to do with it.
Purists would say that the .pl extension represents a Perl Library, and
for clarity, methodology, and security sake should not be executed.
-Original Message-
From: Tom Malo
If the chmod'd properties are the same, it has to be something with your
webserver setup, I'd say. I've never had the problem myself, so I'm not
entirely sure, but I'd guess it's something to do with allowed
file-types on your webserver. What httpd server do you use?
Scott Carmichael
http://
Ok -COOL - it worked...
Thanks for such speedy assistance!!! Just one more silly question...
Why do I have to have the .cgi extension? when I tried it with the .pl
extension, i got a 403 forbidden
tom
-Original Message-
From: Scott Carmichael [mailto:[EMAIL PROTECTED]]
Sent: Friday,
At 11:53 PM 07/19/2001 -0400, Tom Malone wrote:
>I know this is a simple, stupid question, but i can't seem to find the
>answer. I've never used Perl before - only PHP. NOt very familiar with unix
>either...
>I'm trying to get this hello world script to work - I have the shebang -
>#!/usr/bin/perl
I was originally going to reply with the same thing, but I also got an
internal error 500 when I tried that. I think you also have to add:
use CGI;
... Above that as well? That fixed the error for me.
Scott Carmichael
http://jobeus.net/
icq: 445472
-Original Message-
From: Mark S
It's not a stupid question.
The script is fine, and it would run in a *nix shell, but you're using
it on the web, so you have to add this line just below the shebang:
print "Content-type:text/html\n\n";
-Original Message-
From: Tom Malone [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 1
I know this is a simple, stupid question, but i can't seem to find the
answer. I've never used Perl before - only PHP. NOt very familiar with unix
either...
I'm trying to get this hello world script to work - I have the shebang -
#!/usr/bin/perl at the beginning of the file, and verified with my h
Hi everyone,
I am starting to write a number of perl programs. Most relate around a
particular application which has numerous environmental variables. The
variables can be set from a number of places and those places have a
hierarchy as to which takes precedence over the others.
I have therefo
On Thu, Jul 19, 2001 at 11:50:09PM +0100, Mark Maunder wrote:
> Sorry, just read the rest of your message.
>
> Sortof. Grandfather has some utility methods in it that Son and Father both
> use. Son calls a method (call it save() )which it has defined. Within this
> method it uses one of the utili
Correct me if I am wrong since I'm just a newbie..
> > $mypath = $ENV(PATH);
> > $myeditor= $ENV{EDITOR};
> > $mytest = 123;
> > $mytest2 = "Perl"
^ Doesn't this require a semicolon?
>
> add "my" at the beginning of the lines:
>
> my $mypath = $ENV(PATH);
Hi guys,
I have a question maybe about "sort" or regular expression,
@new = sort {($b =~ /=(\d+)/)[0] <=> ($a =~ /=(\d+)/)[0]|| uc($a) cmp
uc($b) } @old;
I don't really understand this /=(\d+)/ [0] thing, expecially that "=" ,
what does that mean?
Thanks!
--
To unsubscribe, e-mail: [EMAI
On Fri, Jul 20, 2001 at 02:39:04AM +0200, Paul Johnson wrote:
> On Thu, Jul 19, 2001 at 05:28:05PM -0700, Sekhar, Ravi wrote:
> > $mypath = $ENV(PATH);
> my $mypath = $ENV(PATH);
I should read more carefully. You need braces here instead of
parentheses.
my $mypath = $ENV{PATH};
(Or mayb
On Thu, Jul 19, 2001 at 05:28:05PM -0700, Sekhar, Ravi wrote:
> #!/usr/bin/perl -w
> use strict;
Good!
> $mypath = $ENV(PATH);
> $myeditor= $ENV{EDITOR};
> $mytest = 123;
> $mytest2 = "Perl"
add "my" at the beginning of the lines:
my $mypath = $ENV(PATH);
(Actually, I'd get rid of "my"
Hi all,
I am trying to do two basic things in my PERL
script:
1) Read in the values of two environment variables
2) Print the values of scalars and environment
variables
I do not understand the errors that were generated
when I compiled the following script. Any help in
understanding what I ma
I am now using caller() in any method that requires class methods or
variables in its caller and it's working great!!
I'm creating objects that know how to save themselves. The utility method I
was refering to earlier generats SQL code for a particular class so that it
can write itself into a tab
On Thu, Jul 19, 2001 at 11:31:20PM +0100, Mark Maunder wrote:
> But I still want to know if __PACKAGE__ (or blesssing a temp object into
> the current package) is the best way of ensuring that the called method is
> passed an object of the callers type.
It isn't. __PACKAGE__ isn't an object, it'
Sorry, just read the rest of your message.
Sortof. Grandfather has some utility methods in it that Son and Father both
use. Son calls a method (call it save() )which it has defined. Within this
method it uses one of the utility methods (lets call it
Grandfather::get_name() ) defined within grandf
Sorry Michael, you're absolutelly right. ($self == $very_dopey_rightnow) But
I still want to know if __PACKAGE__ (or blesssing a temp object into the
current package) is the best way of ensuring that the called method is
passed an object of the callers type.
thanks again!
-Original Message--
On Thu, Jul 19, 2001 at 10:20:48PM +0100, Mark Maunder wrote:
> Also, calling SUPER:: on the original object wont allow you to propogate
> the call all the way up the heirarchy. If the parent then calls
> $self->SUPER:: it is calling itself.
No, it calls its parent. Try:
package Grandfathe
Thanks, but no that's not it. I'm not having a problem calling methods in
the superclass/parentclass - I'm already doing that in the example code I
posted using a reference retreived from ->can(). I could use SUPER:: (If I
was just calling a method on the parent) but checking if the parent has the
There is also an example in the Date::Calc distribution that does exactly
what you want:
/Date-Calc-4.3/examples/nth_weekday.pl
which is called like:
perl nth_weekday.pl
running
perl nth_weekday.pl 3rdFriday 72001
yields:
The 3rd Friday in July 2001 is Friday, Ju
I'm using Net::FTp and Net::Cmd modules in a script to completely
automate some FTPing stuff.
snippet
$ftp->put($fileh,"/tmp/test.txt") || die "cant put the file\n";
$ftp->command("chmod","755","test.txt") || die "Cant run quot\n";
$ftp->quit();
I have no luck making the $ftp->command stuff to
On Jul 19, Mark Maunder said:
>I'm using __PACKAGE__->method() to call a method that exists in a class
>higher up the inheritance tree when $self in the current method is a blessed
>object from a class lower down the inheritance tree (relative to the class
>in which I'm doing the __PACKAGE__->met
[EMAIL PROTECTED] wrote:
> Like I said I was frustrated. I'm using the Deitel and
> Deitel book. But it is probably not it's fault. I'm just confused.
Don't know the book. I Suggest the O'Reilly books.
> I thought I understood I needed to define how I should use
> the module so it would use
Hi, I need some advice from someone who has cut their teeth on inheritance a
few times...
I'm using __PACKAGE__->method() to call a method that exists in a class
higher up the inheritance tree when $self in the current method is a blessed
object from a class lower down the inheritance tree (relat
On Thu, Jul 19, 2001 at 04:51:14PM -0400, Anshu Anshu wrote:
> I got a perl script .. First two line are like I never saw before ..
>
> "#!/usr/local/bin/perl
>
> #!/temp_perl/bin/perl -I/temp_perl/lib/perl5 -I/temp_perl/lib/perl5/5.00502
> -I/temp_perl/lib/perl5/site_perl/5.
> 005/sun4-solaris
Like I said I was frustrated. I'm using the Deitel and Deitel book. But it is
probably not it's fault. I'm just confused.
I thought I understood I needed to define how I should use the module so it would use
it. But from what you just said I guess not. Please provide assistance or a exa
On Thu, Jul 19, 2001 at 03:38:32PM -0400, [EMAIL PROTECTED] wrote:
> use Date::Calc;
> sub dateFriday
> {
> $day="friday";
> $num="3";
> my $dumpday = " $num $day ";
> print ("$dumpday for level0 dump.");
> }
> print ( "Time to do level 0 dump\n", $d->dateFriday() ) ;
I don't un
I got a perl script .. First two line are like I never saw before ..
"#!/usr/local/bin/perl
#!/temp_perl/bin/perl -I/temp_perl/lib/perl5 -I/temp_perl/lib/perl5/5.00502
-I/temp_perl/lib/perl5/site_perl/5.
005/sun4-solaris/
"
Anyone has any idea what is meaning of 2nd line above.
--
To unsubsc
why yes there is... i wrote a little module for perl that does just that.
basicly, you pass the module a filehandle, it strips out all hte html
(leaving the links in the file intact however) and passes back a string
a sample script is also available. look at http://japh.nu/index.cgi
the site is
Ergh. I've got this feeling I misunderstood your question. If so, forgive me.
--
Jason Ledbetter
Data Conversion Specialist
Perl Monk and Ascii Ninja
Cadmus Professional Communications
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
for my $i (1 ... $num) {
s/$pat/$pat+$i/;
}
Get me?
--
Jason Ledbetter
Data Conversion Specialist
Perl Monk and Ascii Ninja
Cadmus Professional Communications
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Bradford Ritchie wrote:
> Is it possible to take a string ($pat) do a substitution on
> it and print the result, without actually changing the
> contents of the original variable?
No; you have to do the subsitution on a copy.
>
> Basically, I'm trying to write a script that will take a
> str
Hi,
Is it possible to take a string ($pat) do a substitution on it and print the
result, without actually changing the contents of the original variable?
Basically, I'm trying to write a script that will take a string and look for
a pattern in that line (which is guaranteed to be a number), incr
> @sorted = sort { $data[$a] [0] <=> $data[$b] [0] } @data;
In the sort block, $a and $b are *elements* of @data, not *subscripts*. Your
sort block should be more like
{ $a->[0] <=> $b->[0] }
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Why not use the DB to process your sort?
todd.
On Thu, 19 Jul 2001, Derrick (Thrawn01) wrote:
> I setup an multidimetional array of data. ( I loading data base files into
> memory.)
> I wan't to sort the records by field 0
> But when I sort this referenced array ( multidimetional array ) I get
"Bob Bondi" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> My question is: how can I pass arguments to a script from the command
line?
> The script at the tail of this message is what I thought would print the 2
> arguments I passed into the script, yet the ou
Hello all
Trying to learn a bit of networking,
I am using the module IO::Socket::INET just as shown
in the camel book (3rd edition) pg 439-441.
I have a client process (that sends data), and a
server (that receives those data).
I send data from the client to server with the lines:
$mensagem =
Okay now I'm really frustrated. I downloaded the CPAN module got it installed
made sure everthing was installed right. Proceeded to try and use it my
program and it dosen't work. For me atleast.
I'm not sure what I"m doing wrong. It is so simple I'm sure but well I'm not
getting it. :( P
Hello Jon,
here a modified script that actually works:
#!/usr/bin/perl -w
use CGI qw( :standard );
open(LOGFILE, "logfile.txt") or die "Can't open logfile: $!\n";
while ($temp=)
{
$link = $temp
}
print header;
print "test";
print "$link";
print "";
Since I'm working at the moment I didn't ha
I setup an multidimetional array of data. ( I loading data base files into
memory.)
I wan't to sort the records by field 0
But when I sort this referenced array ( multidimetional array ) I get an out
of memory error.
There are 80 or so records and each record has 20 fields each field varies
but n
I think your header is spelled wrong, try
print "Content-Type: text/html \n\n";
^there is the bugger!
But why would you want to print the header manually when using CGI.pm?
al
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Daryl,
You can get perl2exe here: http://www.indigostar.com/perl2exe.htm
Craig ><>
[EMAIL PROTECTED]
-Original Message-
From: Daryl J. Hoyt [mailto:[EMAIL PROTECTED]]
Hi,
I'm looking for a program that can make a windows executable out of a Perl
script. The exe would then b
Lightning flashed, thunder crashed and Dave Neill <[EMAIL PROTECTED]> whispered:
| There's also:
|
| $foo =~ s/^\s*//;
You should always use /^\s+/. There's no sense in removing nothing if
nothing is there.
-spp
--
Stephen P Potter [EMAIL PROTECTED]
"You
I have 3 worthwhile solutions.
1. s2p on original sed file (Paul Johnson)
2. perl -p .(Paul [[EMAIL PROTECTED]])
3. Randall's convert to hash..(Randall...)
I'll give all three the ol' corporate try :(
Method which I like best gets a 10%cut from my check from Ed McMahon...
Thank
On Thu, Jul 19, 2001 at 09:20:39AM -0500, Chris Mulcahy wrote:
> Other than creating a database table and managing sessions on my own by
> passing cookies around manually, are there any options for managing
> sessions in Perl using CGI? Apache::Session appears to only work in the
> mod_perl versi
I think that the program you are looking for is perl2exe
- Original Message -
From: "Daryl J. Hoyt" <[EMAIL PROTECTED]>
To: "Beginners Perl" <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 10:53 AM
Subject: I'm looking for a program to make a Perl Script into a Windows .EXE
> Hi,
> I'
Hi,
I'm looking for a program that can make a windows executable out of a Perl
script. The exe would then be run on computers that do not have Perl
installed on them. Does anyone have any suggestions or recommendations?
Thanks,
Daryl J. Hoyt
Performance Engineer
Geodesic Systems
http:
Command line arguments are passed to the script in the array '@ARGV', not
'@_'. '@_' is used for subroutines.
-Original Message-
From: Bob Bondi [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 19, 2001 12:51 PM
To: [EMAIL PROTECTED]
Subject: Help: Starting a script with command line argu
My question is: how can I pass arguments to a script from the command line?
The script at the tail of this message is what I thought would print the 2
arguments I passed into the script, yet the output for this snippet is:
Here ya go:
Here ya go:
Count is: 0
Not enough arguments to get started
#\
On Thu, Jul 19, 2001 at 12:31:16PM -0500, Frank Newland wrote:
> I want to use perl to do what I can't do on large files with sed.
Have you looked at s2p, which comes as standard with perl?
--
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
--- Frank Newland <[EMAIL PROTECTED]> wrote:
> I want to use perl to do what I can't do on large files with sed.
>
> 1. I run the following Unix command:
> $prompt> sed -f list_of_changes original > outputfile
>
> 2. Extract of list_of_changes:
>
> s/KAREN/LAURA /g
> s/KARA/MONA/g
> s/MIKE/O
On Thu, Jul 19, 2001 at 09:51:14AM -0400, Sparkle Williams wrote:
> I just wrote a perl program that retrieves files of type http:// and ftp://
> from the internet. When it retrieves the files it
> comes up in the html syntax of head, body, text etc. Is there any way I can
> write an addition t
I want to use perl to do what I can't do on large files with sed.
1. I run the following Unix command:
$prompt> sed -f list_of_changes original > outputfile
2. Extract of list_of_changes:
s/KAREN/LAURA /g
s/KARA/MONA/g
s/MIKE/OMAR/g
s/BOB/TOM/g
...
3. The file list_of_changes contains 6
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)
File::Find
use function finddepth to go through directories' contents *before*
looking at the dir itself.
use File::Find
my $wanted = sub {
#skip unless the dir contains '_vti' at the beginning
unless($File::Find::dir =~ /^_vti/) { return }
#if we're looking at a dir,
An issue arises with building large and complex modules that normally
install
to multiple places in the Perl library tree. If you can't run "make
install"
you have to figure out the destinations by hand.
One solution is to establish your own library tree.
If you say
make PREFIX=$HOME/m
On Thu, 19 Jul 2001, Ela Jarecka wrote:
Ok, lemme take a crack at it. ;)
> while(defined($line = )) {
Couldn't you just: while ($line = ) {
or is there something I'm missing?
>if ( $toBf =~ /^\n$/) {
> die "Bye, bye!\n";
>}
This would typically be considered bad form, I think. D
Jon,
This is one way of doing it:
use CGI;
use CGI::Carp qw(fatalsToBrowser);
$query=new CGI;
print $query->header();
print $query->start_html( -title=>'tt' );
print $query->startform( -method=>'POST', -name =>'tt');
local( *LOGFILE );
$j = 0;
open( LOGFILE, "logfile.txt"
Paul wrote:
> --- Ruth Albocher <[EMAIL PROTECTED]> wrote:
> > > > create_unit(SDunit, 'SDunit_name');
in create_unit function:
my $self = shift;
my $type = shift;
my $name = shift;
my $unit;
$unit = $type->new(stuff...);
$self->{'units'}->{$name} = $unit;
> > >
> > > lo
Thanks! I guess I didn't read perldata close enough because I had no idea
you could specify more than one key at a time yet another cool
discovery!-- Brad
> On Wed, Jul 18, 2001 at 10:13:04PM -0400, Bradford Ritchie wrote:
> > Could you please explain how your code suggestion below works
Hi Jon,
Your script should look something like this:
#!/usr/bin/perl
use CGI qw( :standard );
open(LOGFILE, "logfile.txt") or die "Can't open logfile: $!\n";
while($line = ()) #
{
chomp $line;
push(@links, $line);
#This was the main problem. You were doing
# $line = $link which m
On Jul 19, Mooney Christophe-CMOONEY1 said:
>"That's an excellent question," i said to myself; "i'll bet there's a
>module for that!"
>
>So, i looked on cpan, and it looks like Array::Compare will do the
>trick.
All the same, this is a question that stumps a lot of people. There are
two ways to
Okay I really am a newbie. This whole perl thing has confused me. (Any
suggestions on clarification to my confusion of the language would be
appreciated as well)
I am trying to create a script on an NT machine that will search through the
directories and find specific directories/folders and pa
On Thu, 19 Jul 2001, Sascha Kersken wrote:
> That $a in the first script, to me, looks like an OO-style CGI Query object.
> This has to be created before use:
>
> $a = new CGI;
Using $a and $b for variables is not a good idea, since they are used for
sort and can cause some wierd warnings or e
Is there a way to rip the HTML tags with multi-line HTML tags?
>From: "Sascha Kersken" <[EMAIL PROTECTED]>
>To: Sparkle Williams <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: perl and internet files
>Date: Thu, 19 Jul 2001 16:07:01 +0200
>
>Hi!
>
>There's the wonderful recipe 20.5 ("
> - I've created several fairly small dictionary files - each line in them
> looks more or less like that:
> 'aufgedreht: lit up, activated, attracted to, interested in'
if this is how the file looks, just use a simple hash:
$dict{'aufgedreht'} = 'lit up, activated, attracted to, interested in';
Hi all,
I am a perl beginner and find myself somewhat stuck, please help!!
I am trying to write a program that will access a log file that has a list
of resource addresses. The program will then create an html page that
returns the last address from the log file as a link in an html page. I
atta
Hi!
That $a in the first script, to me, looks like an OO-style CGI Query object.
This has to be created before use:
$a = new CGI;
Sascha
Original Message:
> Randal, Brian, Stephen,
> Thanks a bunch for your help with my parsing script. I appreciate it very
> much. Here's another pr
Hi folks,
Trying to make learning of German adjectives easier for me ( and to learn
Perl, of course :-) ) I've decided to create a small dictionary in Perl.. Is
using a hash of lists a good approach to solve the problem?
- I've created several fairly small dictionary files - each line in them
lo
OK, simple one.
Other than creating a database table and managing sessions on my own by
passing cookies around manually, are there any options for managing
sessions in Perl using CGI? Apache::Session appears to only work in the
mod_perl version. The error I keep getting in my error_log file is:
Rahul,
You could use a :1 and that will take you to the first line of your program. Then use
cntrl d to page you down.
cntrl u will get you up one page.
Anna
Rahul Garg <[EMAIL PROTECTED]> wrote:
> Hello,
Any solutions regarding this , Creating a problem .
Waiting for Repl
Hi!
There's the wonderful recipe 20.5 ("Converting HTML to ASCII") in Chapter 20
("Web Automation") of the "Perl Cookbook" (by Tom Christiansen and Nathan
Torkington, from O'Reilly).
A basic way to achieve the ripping of HTML tags and the replacement of
and tags by line breaks might be somethi
Hello,
Any solutions regarding this , Creating a problem .
Waiting for Reply...
Subject: simple Telnet or vi editor problem
I am using vi editor on telnet. After typing in 25 or so lines the next lines are
not shown though they are savedstupid ques
Good morning!
I just wrote a perl program that retrieves files of type http:// and ftp://
from the internet. When it retrieves the files it
comes up in the html syntax of head, body, text etc. Is there any way I can
write an addition to my script that will cause
the text to come up in it's form
Hello,
Try
perldoc -q 'my own module'
Hope this helps,,,
Aziz,,,
In article <01071918011800.00964@m12>, "Rizwan" <[EMAIL PROTECTED]> wrote:
> Hi! all,
>
> I am trying to install some of the CPAN modules ,like the b::graph
> module, but I am not able to because I dont have the root privilages
"That's an excellent question," i said to myself; "i'll bet there's a module for that!"
So, i looked on cpan, and it looks like Array::Compare will do the trick.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
There's also:
$foo =~ s/^\s*//;
and if you want to strip leading and trailing spaces:
$foo =~ s/^\s*(.*?)\s*$/$1/;
Though some say that the two step:
$foo =~ s/^\s*//;
$foo =~ s/\s*$//;
is faster. There's also a module:
String::Strip
with a function
StripLTSpace()
and it's fore and aft v
Hello,
Of course this regex only removes the leading spaces only, or the
trailing spaces if there are no leading spaces.
You can use
$string =~ s/^ +| +$//g; # g for global matches
or do it in 2 steps:
$str =~ s/^ +//;
$str =~ s/ +$//;
Hope this helps,,,
Aziz,,,
In article <00a301c1101e$ac7d4a
Randal, Brian, Stephen,
Thanks a bunch for your help with my parsing script. I appreciate it very
much. Heres another problem:
Why doesnt this do what I think it should do? (I just get Internal server
error)
#!c:/perl/bin/perl -w
use strict;
use CGI qw(param);
my ($who,$quote_type,$key)
At 15:21 19.07.2001 +0200, Diego Riaño wrote:
>Hi everybody
>
>I have two array, like this
>
>@array1=(one, two, three);
>@array2=(one,tww,three);
>
>Is there some way to compare the two arrays?
>I was trying with the eq and ne operations inside an IF statement but i
>does not work
>
>Could someon
Hello,
You might want to try using the newsgroup instead of the mailing list.
The address is nntp.perl.org.
Hope this helps,,,
Aziz,,,
In article <009c01c11016$81b60840$0200a8c0@Apartment>, "Patrick Kelly"
<[EMAIL PROTECTED]> wrote:
> What is the website of this newsgroup? I can't afford to
PerlMonth has an interesting survey which ranks favourites modules:
http://www.perlmonth.com/polls/index.html?issue=11
Very informative and useful site, by the way!
Rashid
-Original Message-
From: "MRossland" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Date: Wed, 18 Jul 2001 16:39:05 -0
Hi everybody
I have two array, like this
@array1=(one, two, three);
@array2=(one,tww,three);
Is there some way to compare the two arrays?
I was trying with the eq and ne operations inside an IF statement but i
does not work
Could someone help me.
Thanks
Diego
--
To unsubscribe, e-mail: [
Hi All,
I've inherited a system that uses Perl scripts as a web front-end for IMAP mail...
(Netscape Messenger Express v3.5.2)
We have a lot of problems with memory leaks and hung processes on this machine so I
thought an
update to the most recent version might help to solve the problem.
On a t
Include your folder of modules in the @INC path to a folder in your home dir
or a dir you have permission too write to
Richie Crews
Unix Systems Administrator
(706) 773 - 3436 CELL
(706) 634 - 3681 DESK
(706) 634 - 3831 FAX
Hi! all,
I am trying to install some of the CPAN modules ,like the b::graph module,
but I am not able to because I dont have the root privilages.
Specifically, can anybody help me use the b::graph module without root
previleges.
Rizwan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
Hi,
Not tested this but I think it 'should work. forgive me if I have made any
goofs
/DATE\s+[:]?\s+?(0?[1-9]|[123]\d|3[01])\/(0?[1-9]|1[120])\/(19\d\d|20\d\d|\d
\d)/
$day = $1;# make sure days is not greater than 31
$month = $2;# make sure months not greater than 12
$year = $3;
Hi , I wanted to parse the last line of a file c:\cygwin_syslog.txt and if it
begins with : tftpd i want to draw a progress bar which is growing from 0 to
100, in a GUI.
My code is:
open SYSLOG,")
{
chomp;
if (/^tftpd/)
{
I am using vi editor on telnet. After typing in 25 or so lines the next lines are not
shown though they are savedstupid question but not getting
it..whats the command so that they are shown on editor..
Waiting for reply...
Sascha Kersken wrote:
>
>
>BTW what books do you have? There's a very comprhensive section on this at
>the beginning of the Camel Book.
>
>
>Sascha
>
Hi Sascha,
thank you for your explanation, i have Perl in a Nutshell, the Llama an
the Camel book.
I searched the Indexes of the books without
Hi!
The general site for this is
learn.perl.org
There, you might like to subscribe to beginners-digest instead, which
contains much less traffic.
The web archive of the beginners' mailing list is at
http://archive.develooper.com/beginners%40perl.org/
Besides, your e-mail client (M$ Outlook
it's at learn.perl.org
-- Jos
- Original Message -
From: "Patrick Kelly" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 7:48 AM
Subject: question
What is the website of this newsgroup? I can't afford to keep listening to
it in my e-mail, as it is flooding my
What is the website of this newsgroup? I can't afford to keep listening to it in my
e-mail, as it is flooding my inbox. Thanks!
Patrick
Hi!
A HERE document is a very fine feature of Perl that makes it easy to handle
long, multi-line strings. Like so:
print << "MYLABEL";
All
of
this
rubbish
will
be
printed
including
the
line wraps
until it finds
MYLABEL
- the word 'MYLABEL' won't print anymore. It's just a signal, that the end
o
whoops!
I think I missed something important:
The line
if /^tftpd/
should be
if (/^tftpd/)
of course!
Sascha
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
1 - 100 of 108 matches
Mail list logo