MySQL sounds like your answer Teddy. Runs perfectly well on Linux and
Windows.
-Original Message-
From: Octavian Rasnita [mailto:[EMAIL PROTECTED]]
Sent: 06 June 2002 03:59
To: [EMAIL PROTECTED]
Subject: What database would your recommend?
Hi all,
I want to start learning a database
Octavian Rasnita wrote at Fri, 07 Jun 2002 05:00:33 +0200:
...
The important code with problem is:
if ($^O =~ /MSWin/i) {
print The OS is: $^O;
#This line is not printed because the OS is Linux but the following line has
problems
use Net::SMTP;
...
How can I avoid Linux complaining
Octavian Rasnita wrote at Wed, 05 Jun 2002 14:18:42 +0200:
...
Then I've seen one more error in that file:
Argument \n isn't numeric in numeric eq (==) at c:/Perl/lib/perl5db.pl line 572
That line is:
for ($i = $line + 1; $i = $max $dbline[$i] == 0; ++$i) { #{ vi
Is there any
MySQL is a relational database.
Taken from the mysql documentation page at
http://www.mysql.org/documentation/mysql/bychapter/manual_Introduction.html#Features
MySQL is a relational database management system.
A relational database stores data in separate tables rather than putting all
the
I think what happends is that even though you place the blank field there, the text is
still really there, try using the print command on the same page and take a look to
see if it actually does erase the data or does it just erase it in the form text area,
I had the same problem, I just let
depends what you need to do, PHP has become VERY popular
Octavian Rasnita [EMAIL PROTECTED] 06/05/02 10:58PM
Hi all,
I want to start learning a database that works with Perl but I would like to
learn a database that works under Windows and Unix also.
Is there such a thing?
Of course, I would
Janek:
Thank you for explaining the difference between calling
subroutines with vs. without the ampersand.
I'm glad I'm on the beginners list.
Sincerely,
Kevin Christopher
-- Original Message --
From: Camilo Gonzalez [EMAIL PROTECTED]
Date: Thu, 6
That's a good point. Are there still advantages to using Perl over using
PHP? I'd be bummed to hear I'm using a dying language.
-Original Message-
From: Fred Sahakian [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 10:52 AM
To: [EMAIL PROTECTED]
Cc:
Subject: Re: What database
99% of my databases have been small, so flatfile databases are fine, the Perl can
handle it as well as the servers. When you get into hundreds of thousands of records,
that's different-- then you need something stable, fast, and flexible.
Camilo Gonzalez [EMAIL PROTECTED] 06/07/02 11:56AM
Perl a dying language?
are you nutz?!?!?!
Haven't you been reading the Apocalypse pages for PERL 6??!?!?
http://dev.perl.org/perl6/apocalypse/ apocalypse 1-4
http://www.perl.com/pub/a/2002/06/04/apo5.html apocalypse 5 (pattern
matching will never be the same)
I get a w**dy just thinking about
Hi all,
Having spoken to consultants/teachers that I know, their experience matches
my own.
When teaching, they prefer PHP. When programming they prefer Perl.
It's basically horses for courses. I use PHP for what it's always been
designed for which is creating dynamic web content. For
Forgive me Nikola. In this business you need to stay as marketable as
possible. I don't want to go to a potential employer with six years of Perl
on my resume, to be beaten out by somebody with 2 years of PHP on theirs.
-Original Message-
From: Nikola Janceski [mailto:[EMAIL PROTECTED]]
well.. I have 6 years Perl.. but I don't do web design, and no PHP
programmer has been me out of a position yet.
I am not shooting down PHP, but Perl has many many advantages over PHP, but
PHP is better for DB access via a web front. But Perl is better at backend
access and overall reporting (not
Camilo --
If you've done any research at all you would know that learning perl
will not make you less marketable. And if I were you, I would not
Marry myself to one scripting language;)
Mike
-Original Message-
From: Camilo Gonzalez
Sent: Fri
dont put your eggs in one basket, as they say...
Mike Rapuano [EMAIL PROTECTED] 06/07/02 12:24PM
Camilo --
If you've done any research at all you would know that learning perl
will not make you less marketable. And if I were you, I would not
Marry myself to one scripting language;)
Mike
I would go for Postgres, if I were you. Relational, transactions, and
foreign key assignments. May be a little slower than MySQL, but pretty much
the same in stability.
-James
-Original Message-
From: Octavian Rasnita [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 7:59 PM
Not to be pedantic, but isn't PHP a *language*, not a
database? So you could use almost any particular
database with either PHP or Perl. Or does PHP have
it's own built-in database and that's what you meant?
(I looked at PHP a little once, and I have to admit a
knee-jerk negative reaction to a
John, et al --
...and then John Brooking said...
%
% Not to be pedantic, but isn't PHP a *language*, not a
% database? So you could use almost any particular
Yes, it is; it doesn't have its own database built in. For someone
starting out doing web stuff it wouldn't be bad to pick up, even if
Paul --
Thanks for the reply.
...and then Paul Arsenault said...
%
% MySQL is a relational database.
%
% Taken from the mysql documentation page at
% http://www.mysql.org/documentation/mysql/bychapter/manual_Introduction.html#Features
%
% MySQL is a relational database management system.
volks,
this is probably more an ethical question
than a technical question - since over the
plays here I have become better at reverse engineering
what webServers want pushed at them in the way of URI
by get or puts
but is it kosher to reverse engineer how various public
web sites do this
Depends... there are those that don't know Perl, so I see nothing wrong with
it unless you are using this for profitable purposes. Remember, if it's
free, how is it wrong? If you think it's wrong that it is free, then help
them make it less free. Linus idea, followed by Gates idea.
I think this
drieux, et al --
...and then drieux said...
%
% volks,
Hi!
%
% this is probably more an ethical question
% than a technical question - since over the
% plays here I have become better at reverse engineering
% what webServers want pushed at them in the way of URI
% by get or puts
*grin*
Paul, et al --
...and then Paul Arsenault said...
%
% MySQL is a relational database.
I've followed up and have more information -- sort of. My pal couldn't
provide hard data but pointed not only to extra stuff like transactions
(I don't think anyone is saying that transactions are part of
Is any of this relevent to this list? I don't think so. Again, please stay on
topic.
Cheers,
Kevin
On Fri, Jun 07, 2002 at 10:51:57AM -0700, drieux ([EMAIL PROTECTED]) said something
similar to:
volks,
this is probably more an ethical question
than a technical question - since over the
Relational databasing just means that there are keys associated between the
different databases that allows the database software to easily make matches
from one database table to another very quickly and efficiently. I don't
know if you've ever heard the term primary key before, but it
On Friday, June 7, 2002, at 11:38 , Kevin Meltzer wrote:
Is any of this relevent to this list? I don't think so. Again, please
stay on
topic.
my apologies, I thought the ethics of using a given
technology might be a relevant topic.
Since in essence I am simply reusing the 'test harness'
Paul Arsenault wrote:
database. As for transactions, only very high-end commercial databases
(such as your friend's Oracle) support transactions. They are only
that's not true - postgresql supports transactions.
and according to this page:
Konrad --
...and then Konrad Foerstner said...
%
% Hi!
Hello!
%
% I would like to write some scipts to produce plots and
% saw CGI::Graph is a good solution for that. The problem is
% that I can't find a good introduction or description of
% it in the web. Has anyone a good link for me?
Yes, I had checked this befor, but I need more exmaples and
introduction.
On Fri, 7 Jun 2002 13:41:09 -0500
David T-G [EMAIL PROTECTED] wrote:
Konrad --
...and then Konrad Foerstner said...
%
% Hi!
Hello!
%
% I would like to write some scipts to produce plots and
% saw
Use Mail::Sendmail
Eric
On Wed, 5 Jun 2002, Octavian Rasnita wrote:
Hi all,
Is it complicated to send email with an SMTP mail server if the Net::SMTP
module is not installed?
Thank you.
Teddy,
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
I was wondering if there was any way to refresh and have the same
dynamically-created page viewed every 5 seconds?
I'm trying to do it like this:
my $URL2 = ds0.cgi?$ENV{QUERY_STRING};
### HTML part
print $q-header( -Refresh='5; URL=$URL2' ),
But this doesn't work. The URL that is recreated
Jason --
...and then Jason Ostrom said...
%
% I was wondering if there was any way to refresh and have the same
% dynamically-created page viewed every 5 seconds?
%
% I'm trying to do it like this:
%
% my $URL2 = ds0.cgi?$ENV{QUERY_STRING};
% ### HTML part
% print $q-header( -Refresh='5;
David,
You are the man. That worked. Just when I was figuring out that this
was a variable interpolation problem.
I could use $URL4 instead of $URL2, and it still wasn't interepreted
as a variable, and $URL4 wouldn't be declared anywhere in the
program.
Thanks man!
-Jason
David T-G Jason --
--- drieux [EMAIL PROTECTED] wrote:
volks,
this is probably more an ethical question
than a technical question - since over the
plays here I have become better at reverse engineering
what webServers want pushed at them in the way of URI
by get or puts
but is it kosher to reverse
Hi all,
I use:
=start;
=cut
I use this statement to comment out more lines.
However, I have seen in Lama Book that there is no block comment in Perl.
I thought this statement is used to comment more lines.
What is this statement used for, and is it something wrong if I use it just
for
Hi all,
Is it possible to use use strict; if I get the variables from a
configuration file?
I've tried:
use strict;
require f:/xxx/config.txt;
#In the configuration file I have a line like my $test = test test test;
print Content-type: text/html\n\n;
print $test;
This gives me an error that
Hi all,
I want to make a script that sorts the values from a hash.
I want to make a top with the most downloaded files.
I know how to sort the hash by keys but I couldn't sort it by values.
I have a hash like:
%hash = (
file1 = 3,
file2 = 11,
file3 = 6,
fileN = 22
);
I would like to
What you are doing is not commenting; you're creating POD documentation. To
comment out lines in Perl, use the # character.
#!/usr/bin/perl -w
print Hello, world! \n;
# This is a comment where you
# can write about what you're
# doing in a particular block
# so other programmers won't
# be
Hey Troy,
They do on the many sites that I maintain. As far as they are concerned, they can
not see the SSI since it is parsed on the server, and the general public doesn't even
know that you are running with SSI. They see the same source the you do when you look
at it in the browser.
Writing a script for ActiveState's ActivePerl 5.6.1 which (if the darn thing
worked) would do the same thing on a Windows box (with Perl installed, of
course) that wget does on a Linux box.
What I have (HTML comments added just in case anyone is reading w/ a
browser):
!--
use LWP::Simple;
Hi, all --
The recent post containing print statements this is one and so on
reminded me of an old question that I've never had answered: what's a
good way to trace your program as it runs, preferably without getting
into the debugger?
I realize that that's sort of a loaded question and that
Hi, all --
So I have this mp3 database script idea and I'm starting to move into it
(it feels good to think perlishly again, and I'm going to want to be able
to ignore case or not and search on substrings or not in my code. That's
always been a problem for me: how can I modify my behavior based
Well you could toy around with source filters. A source filter allows you
to manipulate your code after it is read into memory but before it is
executed.
Here is a good article on it, and even has an example of handling debug
output.
http://www.samag.com/documents/s=1287/sam03030004/
You
U have this program which connects to an Oracle 8i database but I get the
following error message. Can anyone help please,
=
#!/usr/bin/perl -w
#
use DBI;# Load the DBI module
use DBD::Oracle;
### Perform the connection using the
I have to say this:
I thought debugging would be hard... and it really isn't, (for 90%
of the cases).
The most reason I have to debug is to see what my data structures look like
and what they contain at a part in my program.
My old method was:
local $ = \n;
print @stuff in here\n;
etc.
What does your table look like? What is the data type of the 4th
field?
--- Naser Ali [EMAIL PROTECTED] wrote:
U have this program which connects to an Oracle 8i database but I
get the
following error message. Can anyone help please,
=
perhaps use qr// to precompile the search instead and use that new
precompiled var within your loop so you don't evaluate the if conditions
each looptime.
my $search;
if ( $WholeMatchOnly )
{
if ( $IgnoreCase )
{ $search = qr/^\($pattern\)$/i }
else
{ $search =
It is a refernce to an address_type.
-Original Message-
From: Joe Raube [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 8:57 AM
To: '[EMAIL PROTECTED]'
Subject: Re: DBI and DBD:: Oracle problem
What does your table look like? What is the data type of the 4th
field?
--- Naser
on Fri, 07 Jun 2002 07:30:44 GMT, [EMAIL PROTECTED] (Mark-Nathaniel
Weisman) wrote:
$link_extor = HTML::LinkExtor-new(\handle_links);
This is just for setting up the handler.
Add the following line to do the real work.
$link_extor-parse($html);
[Note: Could it be that you used the
Nikola, et al --
...and then Nikola Janceski said...
%
% perhaps use qr// to precompile the search instead and use that new
% precompiled var within your loop so you don't evaluate the if conditions
% each looptime.
Oh, cool! Thanks!
%
% my $search;
...
Thanks also for the example, since
Is anyone here familiar with DBD::CSV? I seem to be hitting a limit (I
think) but I'm not sure how to figure it out... I have a CSV file with
about 114 columns in it (I'm not generating these myself, it's Steel
Belted Radius doing it) and I want to use DBD::CSV to pull the fields I
want and
on Fri, 07 Jun 2002 12:31:52 GMT,
[EMAIL PROTECTED] (David T-G) wrote:
The recent post containing print statements this is one and so
on reminded me of an old question that I've never had answered:
what's a good way to trace your program as it runs, preferably
without getting into the
As an alternative you could use Text::CSV to split the fields.
Rob
-Original Message-
From: Jason Frisvold [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 9:36 AM
To: Beginners@Perl. Org (E-mail)
Subject: DBD::CSV
Is anyone here familiar with DBD::CSV? I seem to be hitting a
Hi, all --
I have some large files (1G-2G) that I want to split into 600M chunks
for writing to CD; unfortunately, I don't have enough spare space to hold
two copies (or I'd just use split).
It seems that it should be straightforward to open the file, seek
forward (chunksize*(chunknum-1))
Nikola Janceski wrote at Fri, 07 Jun 2002 15:02:22 +0200:
perhaps use qr// to precompile the search instead and use that new precompiled var
within your
loop so you don't evaluate the if conditions each looptime.
my $search;
if ( $WholeMatchOnly )
{
if ( $IgnoreCase )
Janek, et al --
...and then Janek Schleicher said...
%
% Nikola Janceski wrote at Fri, 07 Jun 2002 15:02:22 +0200:
%
% perhaps use qr// to precompile the search instead and use that new precompiled
var within your
% loop so you don't evaluate the if conditions each looptime.
...
%
% Even
Hi.
I'm parsing a text file with this estrcuture line:
'here is a quote'. Autor (birth year - death year); occupation nationality.
==
I need to separate from the beggining to the first dot, ignoring the dots in
side the two ''.
but i have tried to escape the ' (\'), but no use, what i'm
I think what you want is [^']* , meaning anything except single quote =
zero or more times.
Like this...
my $line = 'here is a quote'. Autor (birth year - death year); occupation
nationality.;
$line =~ /'([^']*)'/;
print $1;
Rob
-Original Message-
From: Eduardo Cancino [mailto:[EMAIL
On Friday, June 7, 2002, at 07:57 , Eduardo Cancino wrote:
Hi.
I'm parsing a text file with this estrcuture line:
'here is a quote'. Autor (birth year - death year); occupation
nationality.
==
I need to separate from the beggining to the first dot, ignoring the dots
in
side
on Fri, 07 Jun 2002 15:02:36 GMT, [EMAIL PROTECTED] (Robert
Hanson) wrote:
$line =~ /'([^']*)'/;
print $1;
The regex is OK, but you should always check the return value of the
match, as in
print $1 if $line =~ /'([^']*)'/;
because $1 will keep the value from a previous match if it
Ugh...
I figured out what it's choking on by using Text::CSV instead of
DBD::CSV ... Some of the entries look something like this :
06/06/02,22:16:23,Some stuff here,LDAP JUNK DN=\\HERE\123
AT=7 US= SI=12345More junk,,,
The problem, I believe, is that LDAP JUNK I think those quotes
All right, first off I'm a total perl newbie (about 2 days now) and am
looking for some resources on how to do a few things. Resources, meaning,
don't tell me how to write the script just point me in the right direction
of where to start. Also this may be an easy thing to do but remember I'm
Many thanks to all for help.
Regards,
Ankit Gupta
Ankit Gupta [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello,
I am facing a problem in using regular expression on array. My code is
written below:
open(FILE, $dirvalue) ;
my @lines
At 07:31 AM 6/7/02 -0500, David T-G wrote:
The recent post containing print statements this is one and so on
reminded me of an old question that I've never had answered: what's a
good way to trace your program as it runs, preferably without getting
into the debugger?
You have to use the/a
Thanks. I was asking because i was wondering where the new lines in my case
were coming from.
--
my @dirs = `du -sk $path/*`;
...
foreach (@dirs) {
. #this is where i had to chomp
the shell command added new lines after each entry, that is what i had to
chomp. wierd though
Hello,
I have a requirement to get the IP address of a user logged from a remote machine on
to UNIX machine. Now the user can be using multiple logins through VPN or otherwise.
I need to create something akin to command finger which will return the user his IP
address based on his current
From: David T-G [EMAIL PROTECTED]
The recent post containing print statements this is one and so on
reminded me of an old question that I've never had answered: what's a
good way to trace your program as it runs, preferably without getting
into the debugger?
You might like
Jeff Hooge wrote at Fri, 07 Jun 2002 17:49:37 +0200:
All right, first off I'm a total perl newbie (about 2 days now) and am looking for
some resources
on how to do a few things. Resources, meaning, don't tell me how to write the script
just point me
in the right direction of where to start.
Here's a script that does something different, but that you may be able to
cannibalize. (Be aware that I've cannibalized this from a script by Larry
Wall with some customizations thanks to some folks on the list... It isn't
mine by any means.)
- B
#!/usr/bin/perl -w
#
# Batch file renaming
ACK... all beginners should learn to:
use strict;
use warnings;
and what these two lines mean... but for now if this is your first time
scripting in perl, write the program without these two lines at the top.
ONCE your script is finished and works, add this two lines in a copy of the
script and
I think that will give just about any CSV parser some trouble. Quotes in
CSV files are used to denote fields that may contain commas. Is there any
way to get Radius to use another string delimiter?
-Original Message-
From: Jason Frisvold [mailto:[EMAIL PROTECTED]]
Sent: Friday, June
Jason Frisvold wrote at Fri, 07 Jun 2002 17:42:52 +0200:
Ugh...
I figured out what it's choking on by using Text::CSV instead of DBD::CSV ... Some
of the entries
look something like this :
06/06/02,22:16:23,Some stuff here,LDAP JUNK DN=\\HERE\123 AT=7 US=
SI=12345More junk,,,
David T-G wrote at Fri, 07 Jun 2002 16:45:38 +0200:
I'm not sure about the ignore case... If I read it right, some $pattern will become
(?i)$pattern. I guess, then, (?i)pat is like /pat/i otherwise?
Yep.
The (?i) switches ignorecase in regexes on,
while (?-i) switches it off.
You could
Hi,
I am trying to put together a process that will format and print out
checks (pay stbus), so I need to do a bit of formatting and combine the
right fonts.
I was wondering if there are any books or urls I could use for reference.
Thanks,
Danial
Danial --
...and then Danial Magid said...
%
% Hi,
Hello!
%
% I am trying to put together a process that will format and print out
% checks (pay stbus), so I need to do a bit of formatting and combine the
% right fonts.
Who needs fonts? COURIER RUL3Z AND ASC11 IS DA B0MB, D00D! ;-)
%
%
On Friday, June 7, 2002, at 09:41 , Shishir K. Singh wrote:
I have a requirement to get the IP address of a user logged from a remote
machine on to UNIX machine. Now the user can be using multiple logins
through VPN or otherwise. I need to create something akin to command
finger which
Thanks!!
But I want something akin to the value of $REMOTEHOST under tcsh. This can be
generalized under unix by
doing
who am i | sed 's/.*(\(.*\))$/\1/' # as was suggested by one the member..thanks to
him!!
but will not work under non Unix envi. Here comes in the perl. I was hoping for
volks,
this is probably more an ethical question
than a technical question - since over the
plays here I have become better at reverse engineering
what webServers want pushed at them in the way of URI
by get or puts
but is it kosher to reverse engineer how various public
web sites do this
I just said on cgi-beginners that this isn't on topic, now it is being
posted here. #1 don't cross-post, #2 stay on topic. This thread is
closed.
Cheers,
Kevin
On Fri, Jun 07, 2002 at 11:35:21AM -0700, drieux ([EMAIL PROTECTED]) said something
similar to:
volks,
this is probably more
On Fri, Jun 07, 2002 at 09:35:52AM -0400, Jason Frisvold wrote:
Is anyone here familiar with DBD::CSV? I seem to be hitting a limit (I
think) but I'm not sure how to figure it out... I have a CSV file with
about 114 columns in it
[snip]
I think I'm hitting a max column limit
[snip]
What
the use of the term system come to mind or the character `systemcommands`
or @filelist = `dir *.mp3 /b` also comes to mind.
^^
Eric
On Fri, 7 Jun 2002, Jeff Hooge wrote:
All right, first off I'm a total perl newbie (about 2 days now) and am
looking for some resources on how to do a few
Also look into globs...
- B
__
the use of the term system come to mind or the character `systemcommands`
or @filelist = `dir *.mp3 /b` also comes to mind.
^^
Eric
On Fri, 7 Jun 2002, Jeff Hooge wrote:
All right, first off I'm a total perl newbie (about 2 days now) and
So much for the kinder, friendlier list mom...
__
I just said on cgi-beginners that this isn't on topic, now it is being
posted here. #1 don't cross-post, #2 stay on topic. This thread is
closed.
Cheers,
Kevin
On Fri, Jun 07, 2002 at 11:35:21AM -0700, drieux ([EMAIL
On Friday, June 7, 2002, at 11:28 , Shishir K. Singh wrote:
But I want something akin to the value of $REMOTEHOST under tcsh. This
can be generalized under unix by doing
which is of course useful only to those running tcsh 8-)
[..]
but will not work under non Unix envi. Here comes in
On Friday, June 7, 2002, at 11:35 , drieux wrote:
[..]
can we divorce ethics from Technology?
and piously stand behind the fact that
we merely made the bomb, we did not drop it
I am now confused - a ruling on cgi-beginner is
also mandated for beginners???
these are the same mailing
David T-G wrote:
Hi, all --
Hello,
I have some large files (1G-2G) that I want to split into 600M chunks
for writing to CD; unfortunately, I don't have enough spare space to hold
two copies (or I'd just use split).
It seems that it should be straightforward to open the file, seek
For the Win32 command, something like
`ipconfig` =~ /(\d+\.\d+\.\d+\.\d+)/;
would work if you just want the ip address, providing you can have the
client run it...
-Original Message-
From: drieux [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 12:33 PM
To: begin begin
Actually, I found out it's a matter of the CSV file not being very CSV
like... :) Not using double quotes properly...
*sigh*
---
Jason H. Frisvold
Senior ATM Engineer
Engineering Dept.
Penteledata
CCNA Certified - CSCO10151622
[EMAIL PROTECTED]
Hello folks,
I am trying not to re-invent the wheels. So I was wondering whether
there is a little program that you good people might know of the would
do the following for me:
Here's an example:
input: 1,2,3,4,5,6,17-25,32-101:4
output:
1 6 1
17 25 1
32 100 4
output is start end increment
...
is the operator.
for ( 1 .. 1000 ){
print $_\n;
}
-Original Message-
From: Rasoul Hajikhani [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 3:50 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Help with Ranges
Hello folks,
I am trying not
I hope no mom looks like me. If you don't think I am friendly, you
don't know what you are talking about. I let MANY things slide on these
lists which many others wouldn't. But when I close a thread on one
list, just to see it posted on a sister-list, it is frustrating. I have
told certain people
perchance someone can help me find the appropriate forum
for the technical discussions of implementing solutions
that have legal ramifications for both the coder as well
as the sites from which their code is run...
[..]
Personally, I think it would be kosher/ethical for you to do it for
oops. extra dot
...
perldoc perlop
-Original Message-
From: Nikola Janceski [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 3:59 PM
To: 'Rasoul Hajikhani'; [EMAIL PROTECTED]
Subject: RE: Help with Ranges
...
is the operator.
for ( 1 .. 1000 ){
print
On Fri, Jun 07, 2002 at 12:36:44PM -0700, drieux ([EMAIL PROTECTED]) said something
similar to:
I am now confused - a ruling on cgi-beginner is
also mandated for beginners???
If you read the list FAQs you would not be confused (section 2.4). If
you can keep in your mind these are BEGINNERS
John, et al --
...and then John W. Krahn said...
%
% David T-G wrote:
%
...
% I have some large files (1G-2G) that I want to split into 600M chunks
% for writing to CD; unfortunately, I don't have enough spare space to hold
% two copies (or I'd just use split).
...
%
% Perhaps you want
Nikola, et al --
...and then Nikola Janceski said...
%
% ...
Fixed to .. per your followup, but I still don't get it.
%
%
% is the operator.
%
% for ( 1 .. 1000 ){
% print $_\n;
% }
I just don't see how this would help him. What this will do is spit out a
bunch of numbers,
Maybe I misunderstood what he was asking. I thought he wanted to find out
what the local IP of the clients that were connected were. This would work
only if you can have the client run it.
-Original Message-
From: drieux [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 1:08 PM
My faultI meant the remote hostname.
-Original Message-
From: Timothy Johnson [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 4:38 PM
To: 'drieux'; begin begin
Subject: RE: IP address
Maybe I misunderstood what he was asking. I thought he wanted to find out
what the
Oh, in that case (again clientside) you can check $ENV{COMPUTERNAME} unless
the client is a Win9x system.
-Original Message-
From: Shishir K. Singh [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 07, 2002 1:43 PM
To: begin begin
Subject: RE: IP address
My faultI meant the remote
Hi -
Here's something that gives your output (2nd example):
use strict;
use warnings;
my $input = '1,2,3,4,5,6,17-25,32-101:4,1,2,3,5';
my @ina = split /,/, $input;
my @outa;
my $i = 0;
for (@ina) {
if (/(\d+)-(\d+):(\d+)/) {
$outa[$i][0] = $1;
1 - 100 of 117 matches
Mail list logo