On Fri, 17 Jun 2016 14:33:12 -0700
Kenneth Wolcott wrote:
> Hi;
>
> I'm having trouble understanding the built-in Perl sort with regards
> to mixed numbers and strings
>
> I'm looking at http://perldoc.perl.org/functions/sort.html
>
> I have a
On Mon, Jun 20, 2016 at 10:40 AM, Shlomi Fish wrote:
> Hi Chris,
>
> On Mon, 20 Jun 2016 11:28:57 -0600
> Chris Fedde wrote:
>
>> Kenneth,
>>
>> Below the cut is my example implementation as I understand your
>> requirements.
>> Note that the "compare" routine uses $a and $b which are "special" t
gt; 6800 eashoo
> 6800 ohweba
> 2300 apahqu
> 8100 ahghee
> 6700 jooxoj
> 3500 yeiboo
> 2800 chuema
>
>
> On Fri, Jun 17, 2016 at 3:41 PM, Kenneth Wolcott
> wrote:
>
> > On Fri, Jun 17, 2016 at 2:33 PM, Kenneth Wolcott
>
t; Hi;
> >
> > I'm having trouble understanding the built-in Perl sort with regards
> > to mixed numbers and strings
> >
> > I'm looking at http://perldoc.perl.org/functions/sort.html
> >
> > I have an array that I want to have sorted n
Hi Kenneth,
On Fri, 17 Jun 2016 14:41:41 -0700
Kenneth Wolcott wrote:
> On Fri, Jun 17, 2016 at 2:33 PM, Kenneth Wolcott
> wrote:
> > Hi;
> >
> > I'm having trouble understanding the built-in Perl sort with regards
> > to mixed numbers and st
derstanding the built-in Perl sort with regards
> > to mixed numbers and strings
> >
> > I'm looking at http://perldoc.perl.org/functions/sort.html
> >
> > I have an array that I want to have sorted numerically and descending.
> >
> > The array i
Wolcott wrote:
>
> On Fri, Jun 17, 2016 at 2:33 PM, Kenneth Wolcott
> wrote:
>> Hi;
>>
>> I'm having trouble understanding the built-in Perl sort with regards
>> to mixed numbers and strings
>>
>> I'm looking at http://perldoc.perl.org/
On Fri, Jun 17, 2016 at 2:33 PM, Kenneth Wolcott
wrote:
> Hi;
>
> I'm having trouble understanding the built-in Perl sort with regards
> to mixed numbers and strings
>
> I'm looking at http://perldoc.perl.org/functions/sort.html
>
> I have an array that I w
Hi;
I'm having trouble understanding the built-in Perl sort with regards
to mixed numbers and strings
I'm looking at http://perldoc.perl.org/functions/sort.html
I have an array that I want to have sorted numerically and descending.
The array is composed of elements that loo
Hi Gary,
> Unfortunately some strings have a 'S' instead of a 5 or a 'B' instead of a 8
>
> The fields are of the format
>
> Registration XX99XXX
> Stock no XX9
> VIN XX9
>
> I've been experi
Hi
I'm still extracting text from OCR generated documents. I've managed to
extract likely fields for registration numbers, stock numbers and VINs.
Unfortunately some strings have a 'S' instead of a 5 or a 'B' instead of a 8
The fields are of the format
Re
Do not use a single regex for this and instead build a proper parser with
mgc parsing. You can check this module for prior art along those lines:
https://metacpan.org/source/MITHALDU/Locale-Simple-0.017/lib/Locale/Simple/Scraper/Parser.pm
It is based on Parser::MGC, which is very useful for th
languages?
The Regexp::Common module, available from cpan.org, has several useful
categories of regular expressions. Among these is Regexp::Common::delimited for
finding delimited strings, which you may find useful.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
On 22/05/2014 10:04, siegfr...@heintze.com wrote:
I need to extract some information from source code.
How can I write a perl regular expression that will match a literal
string in languages like C#, javascript, java and lisp?
Here is my naive approach:
/"[^"]*"/
This of course does not accom
On 22 May 2014, at 10:04, siegfr...@heintze.com wrote:
> I need to extract some information from source code.
>
> How can I write a perl regular expression that will match a literal string in
> languages like C#, javascript, java and lisp?
>
> Here is my naive approach:
>
> /"[^"]*"/
>
> Thi
I need to extract some information from source code.How can I write a perl regular _expression_ that will match a literal string in languages like C#, _javascript_, java and lisp?Here is my naive approach:/"[^"]*"/This of course does not accommodate backslashes in the string that perl, C, C# _javas
After further study, I probably would have had to setup
a named pipe to capture expect's output in to strings which
would have not bought me anything useful for this situation.
We needed to know what was going on with expect as it happened,
not after the fact. More study shows that
UT directly in to a list?
This would make the flow of the program easier to
follow and control. If something goes wrong, one finds out a lot
sooner.
What I was thinking was is some kind of special "file" that
writes in to @strings when you write to the file but I am open
to a
On 25/04/2012 13:52, Paul Clark wrote:
Hi All,
I have a small project that is stumping me aside from using a straight brute
force.
I am processing output from an accounting program that is producing some
sort of printer control for some 3rd party print processing. I have
several partial lines
On Wed, Apr 25, 2012 at 08:52:52AM -0400, Paul Clark wrote:
> Hi All,
>
> I have a small project that is stumping me aside from using a straight brute
> force.
>
> I am processing output from an accounting program that is producing some
> sort of printer control for some 3rd party print process
On Wednesday, April 25, 2012 at 8:52 AM, Paul Clark wrote:
> Any suggestions for a more elegant solution?
What you have there looks like an example of the 'Longest Common Substring
Problem' -- http://www.softpanorama.org/Algorithms/lcs.shtml
Seems like String::LCSS will help -- https://metacpan.o
Hi All,
I have a small project that is stumping me aside from using a straight brute
force.
I am processing output from an accounting program that is producing some
sort of printer control for some 3rd party print processing. I have
several partial lines that have commands to "over write" th
On 24/04/2012 18:37, Paul Clark wrote:
> Hi All,
>
> I have a small project that is stumping me aside from using a
> straight brute force.
>
> I am processing output from an accounting program that is producing
> some sort of printer control for some 3rd party print processing. I
> have several
Hi All,
I have a small project that is stumping me aside from using a straight brute
force.
I am processing output from an accounting program that is producing some
sort of printer control for some 3rd party print processing. I have
several partial lines that have commands to "over write"
On 25/02/2012 00:57, Sean Murphy wrote:
Hi Rob,
Thanks for that. I have spent 30 mins on it and was pulling out my
hair. The end of the heredoc had a tab in front. I didn't know this
mattered. I had the "tag" included and removed for the heredoc. But I
got an error when compiled without the quot
Sean Murphy wrote:
Hi All.
Hello,
I have a real issue with strings. I want to build a sub routine
skeleton plus some test code. If I use () or {} etc. The string comes
out completely messed up. The code below is for a heredoc and
complains that I am trying to define a function. If I use the
On 25/02/2012 00:41, Sean Murphy wrote:
Hi All.
I have a real issue with strings. I want to build a sub routine
skeleton plus some test code. If I use () or {} etc. The string comes
out completely messed up. The code below is for a heredoc and complains
that I am trying to define a function. If
tag. Now I know why. This is the first
time I ever have used heredocs.
Far better then other ways I have done it.
It all works now.
Sean
On 25/02/2012, at 11:51 AM, Rob Dixon wrote:
> On 25/02/2012 00:41, Sean Murphy wrote:
>> Hi All.
>>
>> I have a real issue with st
On 25/02/2012 00:41, Sean Murphy wrote:
Hi All.
I have a real issue with strings. I want to build a sub routine
skeleton plus some test code. If I use () or {} etc. The string comes
out completely messed up. The code below is for a heredoc and complains
that I am trying to define a function. If
Hi All.
I have a real issue with strings. I want to build a sub routine skeleton plus
some test code. If I use () or {} etc. The string comes out completely messed
up. The code below is for a heredoc and complains that I am trying to define a
function. If I use the skeleton within a string. It
eventual wrote:
Hi,
Hello,
I have an array , @datas, and each element within @datas is a string
that's made up of 6 digits with spaces in between like this “1 2 3 4 5
6”, so the array look like this
@datas = ('1 2 3 4 5 6', '1 2 9 10 11 12', '1 2 3 4 5 8', '1 2 3 4 5
9' , '6 7 8 9 10 11');
No
On 2011-05-27 10:18, eventual wrote:
I have an array , @datas, and each element within @datas is a string that's
made up of 6 digits with spaces in between like this “1 2 3 4 5 6”, so the
array look like this
@datas = ('1 2 3 4 5 6', '1 2 9 10 11 12', '1 2 3 4 5 8', '1 2 3 4 5 9' , '6 7
8 9 1
Hi eventual,
On Friday 27 May 2011 11:18:01 eventual wrote:
> Hi,
> I have an array , @datas, and each element within @datas is a string that's
> made up of 6 digits with spaces in between like this “1 2 3 4 5 6”, so the
> array look like this @datas = ('1 2 3 4 5 6', '1 2 9 10 11 12', '1 2 3 4 5
Hi,
I have an array , @datas, and each element within @datas is a string that's
made up of 6 digits with spaces in between like this “1 2 3 4 5 6”, so the
array look like this
@datas = ('1 2 3 4 5 6', '1 2 9 10 11 12', '1 2 3 4 5 8', '1 2 3 4 5 9' , '6 7
8 9 10 11');
Now I wish to compare each
On Thu, Jul 23, 2009 at 18:43, Jenny Chen wrote:
> Hi All,
>
> I need some help with utf-8 string handling in Perl. I tried to trim utf-8
> strings using Perl. Follow is the main portion of the codes, but it does not
> work. Any help will be greatly appreciated.
>
> J
Kelly Jones wrote:
I want to ASCII-ify the
geonames alternatenames table using iso-8859-1.
Also try Text::Unidecode.
--
Ruud
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
-Original Message-
>> From: Kelly Jones [mailto:kelly.terry.jo...@gmail.com]
>> Sent: Friday, April 10, 2009 13:33
>> To: beginners@perl.org
>> Subject: Replace string with list of strings via character changes
>>
>> I want to replace all the o's in a
> -Original Message-
> From: Kelly Jones [mailto:kelly.terry.jo...@gmail.com]
> Sent: Friday, April 10, 2009 13:33
> To: beginners@perl.org
> Subject: Replace string with list of strings via character changes
>
> I want to replace all the o's in a string with x&
I want to replace all the o's in a string with x's or y's and all the
a's in a string with u's or v's.
Example: given string "foobar", the output would be this list of strings
fxxbur (change both o's to x, and the a to u)
fxxbvr (both o's to x,
> > Run the two strings through
>
> > sub nicehex {
> > my $s = $_[0];
> > ...
>
> Noone's perfect. Here is a correct version, that one cut off the last
> few characters.
>
> sub nicehex {
> my $s = $_[0];
> my $hex = unpack 'H*
Kev schreef:
> 1) If I encode the generated code and the database code using
> MIME::Base64, only the first few bytes ('REVDTEFSRQ', decoded that's
> 'DECLARE') are the same, and after that the files are different.
Maybe trailing whitespace, or different newlines? Try hexdump -c.
--
Affijn, Ru
the code of a function, and then
> > want to check whether this is the same code stored in the database or
> > not, but diff shows "differences" where there aren't any (or shouldn't
> > be any, since nothing in the database has changed), and worse, perl'
ows "differences" where there aren't any (or shouldn't
> be any, since nothing in the database has changed), and worse, perl's
> 'eq' and 'ne' operators agree with diff that the strings are
> different. But at least visually the two texts
nothing in the database has changed), and worse, perl's
'eq' and 'ne' operators agree with diff that the strings are
different. But at least visually the two texts being compared are
identical, and if I copy and paste the results from Firefox into
TextPad and then run "com
[EMAIL PROTECTED] wrote:
>
> On Apr 26, 9:55 am, [EMAIL PROTECTED] (Rob Dixon) wrote:
>>
>> [EMAIL PROTECTED] wrote:
>>>
>>> The following script is to read 4 consecutive lines at a time from a
>>> file, concatenate the first 3 lines
>>> (with a ", "), and print the result to STDOUT. If the 3 lin
On Sat, Apr 26, 2008 at 3:42 PM, <[EMAIL PROTECTED]> wrote:
> I tried your suggestion and got the following output:
> 1) the first col didn't print, and the 3rd col overwrote the 2nd; this
> is the main stumbling block
> 2) also, what if example.txt has 36 lines with the same format as
> descr
I tried your suggestion and got the following output:
1) the first col didn't print, and the 3rd col overwrote the 2nd; this
is the main stumbling block
2) also, what if example.txt has 36 lines with the same format as
described.
FYI I'm using cgywin's version of perl.
--
On Apr 26, 9:55 am, [EMAI
[EMAIL PROTECTED] wrote:
> The following script is to read 4 consecutive lines at a time from a
> file, concatenate the first 3 lines
> (with a ", "), and print the result to STDOUT. If the 3 lines aren't
> concatenated they print correctly, however
> if they are, the result is gibberish. Any sug
[EMAIL PROTECTED] wrote:
The following script is to read 4 consecutive lines at a time from a
file, concatenate the first 3 lines
(with a ", "), and print the result to STDOUT. If the 3 lines aren't
concatenated they print correctly, however
if they are, the result is gibberish. Any suggestions
The following script is to read 4 consecutive lines at a time from a
file, concatenate the first 3 lines
(with a ", "), and print the result to STDOUT. If the 3 lines aren't
concatenated they print correctly, however
if they are, the result is gibberish. Any suggestions. thx., EC.
-
On Mon, Apr 14, 2008 at 1:21 PM, Paulo Antonio
<[EMAIL PROTECTED]> wrote:
> On 14 abr, 13:25, [EMAIL PROTECTED] (Chas. Owens) wrote:
> [...]
>
> > Hmm, the following works for me, but then again I have
> >
> > export PERL_UNICODE=SDL #Make Perl use UTF-8 for IO
> >
> > in my .bash_profile.
On 14 abr, 13:25, [EMAIL PROTECTED] (Chas. Owens) wrote:
[...]
> Hmm, the following works for me, but then again I have
>
> export PERL_UNICODE=SDL #Make Perl use UTF-8 for IO
>
> in my .bash_profile.
>
Yes, that made the trick. Thanks. But I wish there was a "Perl only"
way...
--
To unsubs
On Apr 14, 2008, at 10:10, Paulo Antonio wrote:
Hi all,
I'm trying to change case of UTF-8 strings. I've read a bunch of
documentation, but can't figure out how to do it right. Here is an
example:
=== My code:
use strict;
use utf8;
my $line;
my $letter;
while ($line = ) {
Hi all,
I'm trying to change case of UTF-8 strings. I've read a bunch of
documentation, but can't figure out how to do it right. Here is an
example:
=== My code:
use strict;
use utf8;
my $line;
my $letter;
while ($line = ) {
chomp($line);
utf8::upgrade($line);
$
Thanks for all your input, using a hash does make things a lot easier for me.
Rob Dixon <[EMAIL PROTECTED]> wrote: kens wrote:
>
> # Or if you must use a counter
>
> my $count = 0;
>
> while ( defined($strA[$count]) )
> {
>print "$strA[$count++]\n";
> }
for my $count (0 .. $#strA) {
p
kens wrote:
# Or if you must use a counter
my $count = 0;
while ( defined($strA[$count]) )
{
print "$strA[$count++]\n";
}
for my $count (0 .. $#strA) {
print "[$count] = $strA[$count]\n";
}
**OR**
my $count = 0;
foreach (@strA) {
print "[$count] = $strA[$count]\n";
$count++;
}
> "Bobby" == Bobby <[EMAIL PROTECTED]> writes:
Bobby> I'm trying to write a simple do until loop to print out the value of
Bobby> $strA0 through $striA3.
If your variable names are named sequentially, you've almost always done
something wrong. Please rethink your problem, keeping data struc
Bobby wrote:
Hi all,
I'm trying to write a simple do until loop to print out the value of
> $strA0 through $striA3. What i'm doing is replacing the value of 0
> through 3 in the $strA by joining two strings (my $strB = "strA".
> $count;). Right now my script is pr
yitzle wrote:
IIRC, Perl does not let you use a string to build a variable name like PHP does.
Then you do not remember it correctly.
If you do this:
$myVar = 123;
$varName = "myVar";
print "$varName";
You get "myVar" and not "123"
Sure, but if you replace the last line with
prin
On Mar 24, 12:09 pm, [EMAIL PROTECTED] (Bobby) wrote:
> Hi all,
>
> I'm trying to write a simple do until loop to print out the value of $strA0
> through $striA3. What i'm doing is replacing the value of 0 through 3 in the
> $strA by joining two strings (my $strB = &qu
Bobby wrote:
I'm trying to write a simple do until loop to print out the value of
$strA0 through $striA3. What i'm doing is replacing the value of 0
through 3 in the $strA by joining two strings (my $strB = "strA" .
$count;). Right now my script is printing $strB as below
> Bobby wrote:
> Hi all,
>
> I'm trying to write a simple do until loop to print out the value of
> $strA0 through $striA3. What i'm doing is replacing the value of 0
> through 3 in the $strA by joining two strings (my $strB = "strA" .
> $count;).
t; Hi all,
> > >
> > > I'm trying to write a simple do until loop to print out the value of
> > > $strA0 through $striA3. What i'm doing is replacing the value of 0
> > > through 3 in the $strA by joining two strings (my $strB = "strA" .
&g
didn't
> worked.
>
> Wolf wrote:
> Bobby wrote:
> > Hi all,
> >
> > I'm trying to write a simple do until loop to print out the value of $strA0
> > through $striA3. What i'm doing is replacing the value of 0 through 3 in
> >
IIRC, Perl does not let you use a string to build a variable name like PHP does.
If you do this:
$myVar = 123;
$varName = "myVar";
print "$varName";
You get "myVar" and not "123" which seems to be what you want.
However, I think you might be able to use hashes and get what you want.
$hash{"
27;m trying to write a simple do until loop to print out the value of $strA0
> > through $striA3. What i'm doing is replacing the value of 0 through 3 in
> > the $strA by joining two strings (my $strB = "strA" . $count;). Right now
> > my script is printing $strB
3. What i'm doing is replacing the value of 0 through 3 in the
> $strA by joining two strings (my $strB = "strA" . $count;). Right now my
> script is printing $strB as below. How do i get perl to print the value of
> $strA0 through $strA3 inside of my do until loop? i.e.:
Bobby <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm trying to write a simple do until loop to print out the value of $strA0
> through $striA3. What i'm doing is replacing the value of 0 through 3 in the
> $strA by joining two strings (my $strB = "strA
Hi all,
I'm trying to write a simple do until loop to print out the value of $strA0
through $striA3. What i'm doing is replacing the value of 0 through 3 in the
$strA by joining two strings (my $strB = "strA" . $count;). Right now my script
is printing $strB as below.
aving problem with using parentheses
in translation strings. For example, I want to replace the 4 digit
year code '' with '(\d\d\d\d)', so it can be used for grouping in
string matching later. I expected the code would be like:
$org_str =~ tr//\(\d\d\d\d\)/;
Then the r
how do i unsubscribe from this list?
On Jan 2, 2008, at 12:14 PM, Tom Phoenix wrote:
On Jan 1, 2008 1:20 PM, <[EMAIL PROTECTED]> wrote:
I'm quite new to perl, and now having problem with using parentheses
in translation strings. For example, I want to replace the 4 digit
year
On Jan 2, 2008 10:48 AM, Chas. Owens <[EMAIL PROTECTED]> wrote:
> On Jan 1, 2008 4:20 PM, <[EMAIL PROTECTED]> wrote:
> > Hi there,
> >
> > I'm quite new to perl, and now having problem with using parentheses
> > in translation strings. For example,
On Jan 1, 4:20 pm, [EMAIL PROTECTED] wrote:
> Hi there,
>
> I'm quite new to perl, and now having problem with using parentheses
> in translation strings. For example, I want to replace the 4 digit
> year code '' with '(\d\d\d\d)', so it can be used fo
[EMAIL PROTECTED] wrote:
Hi there,
Hello,
I'm quite new to perl, and now having problem with using parentheses
in translation strings. For example, I want to replace the 4 digit
year code '' with '(\d\d\d\d)', so it can be used for grouping in
string matching l
On Jan 1, 2008 1:20 PM, <[EMAIL PROTECTED]> wrote:
> I'm quite new to perl, and now having problem with using parentheses
> in translation strings. For example, I want to replace the 4 digit
> year code '' with '(\d\d\d\d)', so it can be used for gr
t;.
HTH!
Martin
On 22:20:53 01/01/2008 [EMAIL PROTECTED] wrote:
> Hi there,
>
> I'm quite new to perl, and now having problem with using parentheses
> in translation strings. For example, I want to replace the 4 digit
> year code '' with '(\d\d\d\d)'
On Jan 1, 2008 4:20 PM, <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I'm quite new to perl, and now having problem with using parentheses
> in translation strings. For example, I want to replace the 4 digit
> year code '' with '(\d\d\d\d)', so it
Hi there,
I'm quite new to perl, and now having problem with using parentheses
in translation strings. For example, I want to replace the 4 digit
year code '' with '(\d\d\d\d)', so it can be used for grouping in
string matching later. I expected the code would be l
Wijaya Edward wrote:
Hi,
Suppose I have this two strings:
my $beginning = 'Fri Oct 25 17:37:58 2007';
my $end = 'Fri Oct 26 06:54:09 2007';
How can I compute the time difference between
them (in secs)? Is there any CPAN module that does that?
I have a large text fil
Wijaya Edward wrote:
Hi,
Suppose I have this two strings:
my $beginning = 'Fri Oct 25 17:37:58 2007';
my $end = 'Fri Oct 26 06:54:09 2007';
How can I compute the time difference between
them (in secs)? Is there any CPAN module that does that?
I have a large text fil
Hi,
Suppose I have this two strings:
my $beginning = 'Fri Oct 25 17:37:58 2007';
my $end = 'Fri Oct 26 06:54:09 2007';
How can I compute the time difference between
them (in secs)? Is there any CPAN module that does that?
I have a large text files which contain two
R (Chandra) Chandrasekhar wrote:
I need to print diagnostic message strings like:
warn "$parent/$child does not exist: verification failed\n";
in conditional blocks that are nested and indented. This means that, on
occasion, the message string overflows to the next line in an
80
Dear Folks,
I need to print diagnostic message strings like:
warn "$parent/$child does not exist: verification failed\n";
in conditional blocks that are nested and indented. This means that, on
occasion, the message string overflows to the next line in an 80-character line
in my s
On Aug 22, 12:21 pm, [EMAIL PROTECTED] wrote:
> I've searche over the web and couldn' find an answer to what I need.
The web is not the best place to look. The first place you should
look for Perl answers is the perldocs themselves. They are very good.
> I need to clean all the ocorrences of th
- Original Message -
From: Mário Gamito <[EMAIL PROTECTED]>
Date: Wednesday, August 22, 2007 4:18 pm
Subject: Help on cleaning strings
To: beginners@perl.org
> I need to clean all the ocorrences of the "##Z/" string (without
> the quotes), from a series of .html fil
On 8/22/07, Mário Gamito <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Sorry for the newbie question, but I've searche over the web and couldn'
> find an answer to what I need.
>
> I need to clean all the ocorrences of the "##Z/" string (without the
> quotes), from a series of .html files located in a singl
Mário Gamito wrote:
Hi,
Hello,
Sorry for the newbie question, but I've searche over the web and couldn'
find an answer to what I need.
I need to clean all the ocorrences of the "##Z/" string (without the
quotes), from a series of .html files located in a single directory.
perl -i -pe's!#
On 8/22/07, Mário Gamito <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Sorry for the newbie question, but I've searche over the web and couldn'
> find an answer to what I need.
>
> I need to clean all the ocorrences of the "##Z/" string (without the
> quotes), from a series of .html files located in a singl
Hi,
Sorry for the newbie question, but I've searche over the web and couldn'
find an answer to what I need.
I need to clean all the ocorrences of the "##Z/" string (without the
quotes), from a series of .html files located in a single directory.
Can someone help me, please ?
Any help would
Hi,
Sorry for the newbie question, but I've searche over the web and couldn'
find an answer to what I need.
I need to clean all the ocorrences of the "##Z/" string (without the
quotes), from a series of .html files located in a single directory.
Can someone help me, please ?
Any help would
On 8/18/07, Dr.Ruud <[EMAIL PROTECTED]> wrote:
> "Chas Owens" schreef:
> > Dr.Ruud:
> >> mihirtr:
>
> >>> I have multiple C/C++ files which I need to go manually and find out
> >>> specific function call. I want to check 2nd parameter of this
> >>> function
> >>> (Function_To_Look_For) and get valu
"Chas Owens" schreef:
> Dr.Ruud:
>> mihirtr:
>>> I have multiple C/C++ files which I need to go manually and find out
>>> specific function call. I want to check 2nd parameter of this
>>> function
>>> (Function_To_Look_For) and get value of it and store it in local
>>> file
>>
>> I would use (not
On 8/18/07, Dr.Ruud <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] schreef:
>
> > I have multiple C/C++ files which I need to go manually and find out
> > specific function call. I want to check 2nd parameter of this
> > function
> > (Function_To_Look_For) and get value of it and store it in local
[EMAIL PROTECTED] schreef:
> I have multiple C/C++ files which I need to go manually and find out
> specific function call. I want to check 2nd parameter of this
> function
> (Function_To_Look_For) and get value of it and store it in local file
I would use (not Perl but) the preprocessor for that
On 8/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
snip
> I have multiple C/C++ files which I need to go manually and find out
> specific function call. I want to check 2nd parameter of this
> function
> (Function_To_Look_For) and get value of it and store it in local file
> or output it. For
Hi,
I have trying see if it is possible using perl to do following.
I have multiple C/C++ files which I need to go manually and find out
specific function call. I want to check 2nd parameter of this
function
(Function_To_Look_For) and get value of it and store it in local file
or output it. For e
On Aug 9, 11:58 am, [EMAIL PROTECTED] (Mathew Snyder) wrote:
> What I am doing is declaring an array and assigning the value:
> @array = qw/All "A - H" "I - P" "Q - Z"/;
You don't want qw{} here. Just do it the brute-force way:
@array = ("All", "A - H", "I - P", "Q - Z");
--
The best way to
determined values onto the array later on.
>> However,
>> when I print this all out while testing, I get each letter, hyphen and
>> quote as
>> individual elements. I've tried escaping different ways to no avail.
>
> qw/All "A - H" "I -
yphen and quote as
individual elements. I've tried escaping different ways to no avail.
qw/All "A - H" "I - P" "Q - Z"/
is the same as saying:
split ' ', q/All "A - H" "I - P" "Q - Z"/
so when using qw// there are no strings ju
Mathew Snyder wrote:
I need to populate a select multiple on a web page when it loads with a series
of values. Most of the values will be determined dynamically when the code runs
but some are static. They look like "A - H", "I - P" and "Q - Z". The spaces
are for readability.
What I am doing
1 - 100 of 498 matches
Mail list logo