HI all, I have this situation: I want to get all dates between curent date and 30 days, so I want to get now:
2006-05-22
2006-05-23
2006-05-24
2006-05-25
2006-05-26
.
.
.
2006-06-21
Now I use this script and I get only last date 2006-06-21.
SO can some one help ;)
#!/usr/bin/perl -w
use...
Hi all I have one problem, so...I hope that someone can help ;)
Ok so I have array which have always 1 element and from that first element I have to pars it like this:
Example
my @ace_param1 = ("Thu 27 Apr 20:50 Mexico City 14:35 +1 Frankfurt LH499 13h00 Business Flex (C) Fri 28 Apr 15:40...
Well yestrday Im find some one, but thx on rensponse anyway ;o) here is my way:
use DBI;
my @ace_param6 = ("LYON LONDON PARIS<");
my @ace_param7 = ("le 23 avr. 2006 : 398,00 @0@20060423@X@0@32823@@le 30 avr. 2006 : 354,00 @1@20060430@X@0@32823@@le 07 mai 2006 : 328,00...
Hi Idont know how to eplain this, so than throught example and I hope that someone can help me;) so I have
my @ace_param6 = ("LYON LONDON PARIS<");
my @ace_param7 = ("le 23 avr. 2006 : 398,00 @0@20060423@X@0@32823@@le 30 avr. 2006 : 354,00 @1@20060430@X@0@32823@@le 07 mai 2006 : 328,00...
Hi all , I want to split something by capital latter and I have this situation:
$var="Sam 134 Dan 234 Hal 345";
@tax1 = split(/[A-Z]/, $var);
now in array I have
@tax1=("am 134","an 234","al 345")
my question is how can I split by capital latter, but also to have that capital letter, so I...
ok thx, but what if I have like this:
$var="ALID-1 77,00 € 505.09 FF - ALID-2 77,00 € 505.09 FF - ALID-3 77,00 € 505.09 FF";
and I want to get only:
$var="ALID-1 77,00 € - ALID-2 77,00 € - ALID-3 77,00 €";
so delete all from € till -
but I dont want...
Hi all,
How can I delete some text from var?
example
$var="individuelle 77,00 € 505.09 FF";
so now I want to delete and get
$var="individuelle 77,00";
Hi all,
I want to ask can I erase duplicate elements and make new array without that old elements.
example:
@ins= ("ace","name","ace","car");
@outs= ("2","3");
foreach $var1 (0 .. $#ins)
{
foreach $var2 (0 .. $#outs)
{
$buffer = $outs[$var2]."----".$ins[$var1]...
Thx you all special to you eewah ;) Im get what I need
1year-1month-1day-1name-1fruit-2day
1year-1month-1day-2name-2fruit-2day
2year-2month-1day-1name-1fruit-2day
2year-2month-1day-2name-2fruit-2day
Thx Trojan , but now with this yours code I get this:
1year-1month-1day-1name-1fruit-2day
2year-2month--2name-2fruit-
but I need to have 4 combination:
1year-1month-1day-1name-1fruit-2day
1year-1month-1day-2name-2fruit-2day
2year-2month-1day-1name-1fruit-2day
2year-2month-1day-2name-2fruit-2day
Hi all,
I have 2 x 3 array so I need to make combination between to get link
example:
my @year=("1year","2year");
my @month=("1month","2month");
my @day_1=("1day");
------
my @name=("1name","2name");
my @fruit=("1fruit","2fruit");
my @day_2=("2day");
-------
SO I need to get this:
link =...
My code dont work that for sure, I just wanted to let you know that I have loop and..., but "rharsh" you are the man ;)
my $special = 'some text';
my @names = qw/Smith Elvir Damir/;
for (my $i = 0; $i <= $#names; $i++) {
if ($i == $#names) {
print $names[$i].$special, "\n";
}...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.