Ask a Question related to PERL Miscellaneous, Design and Development.
-
Trent Curry #1
Re: calculation in string
"Daniel" <dvdoord@planet.nl> wrote in message
news:3f4c7dbf$0$49114$e4fe514c@news.xs4all.nl...$var_total = eval($var_tmp);> I've a dynamic variable
> $var_tmp = "/18";
> where the "/18" can also be "/18+100"
> I also got a variable
> $var_prize = 2000
> now the thing is I have to get this
> $var_total = 2000/18+100;
>
> anybody knows how this works ?!?
will do what you want.
Also, alt.comp.lang.perl & comp.lang.perl are very rare if not virtually
extinct news groups. I don't think too many people get them. Though there
seems to be SOME activity in those two said groups...
Or is alt.comp.lang.perl just a lesser known group?
Trent Curry Guest
-
Calculation
Hi, I'm trying to take data from my database and add them (like field 1 + field 2). Somehow, it doesn't seem to be working. Anybody would know a... -
Calculation in TimeFormat tag
I am trying to take Pacific Time (from the server) then display both Pacific and Eastern Time for the user (in ColdFusion 6.1.0). What I think... -
Calculation based on calculation
I'm new to Acrobat 5.05 and Javascript... I have a simple issue/question: There are 3 columns, QUANTITY, EACHES COST, LINE TOTAL As the... -
Calculation Field Help
I have a calculation field that is suppose to search for a string within a field, and assign a value if it finds it, otherwise assign another value.... -
Calculation Help
Hi there, Here's what I am trying to do: I have two fields on a form. One for Estimated $ and one for Acutal $. I would like to do this: If the... -
Anno Siegel #2
Re: calculation in string
Trent Curry <tcurrey@no.no.no.i.said.no> wrote in comp.lang.perl.misc:
alt.comp.lang.perl is a legit alternative to the mainstream Perl groups.> "Daniel" <dvdoord@planet.nl> wrote in message
> news:3f4c7dbf$0$49114$e4fe514c@news.xs4all.nl...>> > I've a dynamic variable
> > $var_tmp = "/18";
> > where the "/18" can also be "/18+100"
> > I also got a variable
> > $var_prize = 2000
> > now the thing is I have to get this
> > $var_total = 2000/18+100;
> >
> > anybody knows how this works ?!?
> $var_total = eval($var_tmp);
> will do what you want.
>
> Also, alt.comp.lang.perl & comp.lang.perl are very rare if not virtually
> extinct news groups. I don't think too many people get them. Though there
> seems to be SOME activity in those two said groups...
>
> Or is alt.comp.lang.perl just a lesser known group?
comp.lang.perl has been decommissioned many years ago -- it *shouldn't*
exist anywhere, but a sizeable minority of news server still carry it.
Anno
Anno Siegel Guest
-
Tom #3
Re: calculation in string
and what would be the mainstream perl newsgroups?
"Anno Siegel" <anno4000@lublin.zrz.tu-berlin.de> wrote in message
news:bjmr18$2ce$2@mamenchi.zrz.TU-Berlin.DE...there> Trent Curry <tcurrey@no.no.no.i.said.no> wrote in comp.lang.perl.misc:> > "Daniel" <dvdoord@planet.nl> wrote in message
> > news:3f4c7dbf$0$49114$e4fe514c@news.xs4all.nl...> >> > > I've a dynamic variable
> > > $var_tmp = "/18";
> > > where the "/18" can also be "/18+100"
> > > I also got a variable
> > > $var_prize = 2000
> > > now the thing is I have to get this
> > > $var_total = 2000/18+100;
> > >
> > > anybody knows how this works ?!?
> > $var_total = eval($var_tmp);
> > will do what you want.
> >
> > Also, alt.comp.lang.perl & comp.lang.perl are very rare if not virtually
> > extinct news groups. I don't think too many people get them. Though>> > seems to be SOME activity in those two said groups...
> >
> > Or is alt.comp.lang.perl just a lesser known group?
> alt.comp.lang.perl is a legit alternative to the mainstream Perl groups.
> comp.lang.perl has been decommissioned many years ago -- it *shouldn't*
> exist anywhere, but a sizeable minority of news server still carry it.
>
> Anno
Tom Guest
-
Jürgen Exner #4
Re: calculation in string
Tom wrote:
Please see "perldoc -q usenet".> and what would be the mainstream perl newsgroups?
And don't top-post-full-quote!
jue
Jürgen Exner Guest
-
Trent Curry #5
Re: calculation in string
--
Stan
"Anno Siegel" <anno4000@lublin.zrz.tu-berlin.de> wrote in message
news:bjmr18$2ce$2@mamenchi.zrz.TU-Berlin.DE...there> Trent Curry <tcurrey@no.no.no.i.said.no> wrote in comp.lang.perl.misc:> > "Daniel" <dvdoord@planet.nl> wrote in message
> > news:3f4c7dbf$0$49114$e4fe514c@news.xs4all.nl...> >> > > I've a dynamic variable
> > > $var_tmp = "/18";
> > > where the "/18" can also be "/18+100"
> > > I also got a variable
> > > $var_prize = 2000
> > > now the thing is I have to get this
> > > $var_total = 2000/18+100;
> > >
> > > anybody knows how this works ?!?
> > $var_total = eval($var_tmp);
> > will do what you want.
> >
> > Also, alt.comp.lang.perl & comp.lang.perl are very rare if not virtually
> > extinct news groups. I don't think too many people get them. ThoughUnfortunately, my server carries both :(>> > seems to be SOME activity in those two said groups...
> >
> > Or is alt.comp.lang.perl just a lesser known group?
> alt.comp.lang.perl is a legit alternative to the mainstream Perl groups.
> comp.lang.perl has been decommissioned many years ago -- it *shouldn't*
> exist anywhere, but a sizeable minority of news server still carry it.
Thank you for the info though.
Trent Curry Guest
-
Tom #6
Re: calculation in string
wtf is "perldoc -q usenet"?
Just tell me the newsgroup please.
I'm in windows right now, though I do have several Linux boxes and I work
solely in SunOS5 at work.
Yes, I have the windows perl port and use it regularly.
Works great. Also have the xemacs port for windows :)
I know, I am hearing your scream now :)
"Jürgen Exner" <jurgenex@hotmail.com> wrote in message
news:GQH7b.18421$98.13891@nwrddc03.gnilink.net...> Tom wrote:>> > and what would be the mainstream perl newsgroups?
> Please see "perldoc -q usenet".
> And don't top-post-full-quote!
>
> jue
>
>
Tom Guest
-
Sam Holden #7
Re: calculation in string
On Wed, 10 Sep 2003 22:46:54 -0700, Tom <tom@nosleep.net> wrote:
A reference to the FAQ that comes with perl.> wtf is "perldoc -q usenet"?
The FAQ you are supposed to check *before* posting.
The FAQ that specifically answers your question.
Run the command:
perldoc -q usenet
on one of the machines with perl on it (and set up to include the perl bin
directory in your path) for the answer to your original question.
I see you ignored the second statement. Hope you don't have any>
> "Jürgen Exner" <jurgenex@hotmail.com> wrote in message
> news:GQH7b.18421$98.13891@nwrddc03.gnilink.net...>> Tom wrote:>>>> > and what would be the mainstream perl newsgroups?
>> Please see "perldoc -q usenet".
>> And don't top-post-full-quote!
>>
>> jue
>>
>>
perl quesions later, since I suspect a whole bunch of very knowledgable
and helpful folk won't be reading your posts...
--
Sam Holden
Sam Holden Guest
-
Tom #8
Re: calculation in string
lol, it even works in windows :)
Thanks,
Tom
"Sam Holden" <sholden@flexal.cs.usyd.edu.au> wrote in message
news:slrnbm071c.p2v.sholden@flexal.cs.usyd.edu.au. ..> On Wed, 10 Sep 2003 22:46:54 -0700, Tom <tom@nosleep.net> wrote:>> > wtf is "perldoc -q usenet"?
> A reference to the FAQ that comes with perl.
>
> The FAQ you are supposed to check *before* posting.
>
> The FAQ that specifically answers your question.
>
> Run the command:
>
> perldoc -q usenet
>
> on one of the machines with perl on it (and set up to include the perl bin
> directory in your path) for the answer to your original question.
>>> >
> > "Jürgen Exner" <jurgenex@hotmail.com> wrote in message
> > news:GQH7b.18421$98.13891@nwrddc03.gnilink.net...> >> Tom wrote:
> >> > and what would be the mainstream perl newsgroups?
> >>
> >> Please see "perldoc -q usenet".
> >> And don't top-post-full-quote!
> >>
> >> jue
> >>
> >>
> I see you ignored the second statement. Hope you don't have any
> perl quesions later, since I suspect a whole bunch of very knowledgable
> and helpful folk won't be reading your posts...
>
> --
> Sam Holden
>
Tom Guest



Reply With Quote

