to extract the fields as i describe previous ?
Regards,
Paulito Santana
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
Hi
Where is a solution(s) of this thread?
It's a litle bit weird ask for help, and don't offer a "posible solution".
At least with a study case would be enough, don't mentioning further details.
cheers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
In windows there is a freeware, it's a clon for windows I'm using it for
several months and works fine.
nncronlt111.exe it's small and easy to use.
I found in ten minutes google searching.
if you want it, tell me how can I send to you.
HTH
2008/6/30 Tobias Eichner <[EMAIL PROTECTED]>:
>
2008/3/13, Jenda Krynicky <[EMAIL PROTECTED]>:
>
> From: "obdulio santana" <[EMAIL PROTECTED]>
> > 2008/3/12, Jenda Krynicky <[EMAIL PROTECTED]>:
> > >
> .
.
I see. Sorry. Properly set is not enough when it comes to Windows. MS
> Wi
2008/3/13, Jenda Krynicky <[EMAIL PROTECTED]>:
>
> Date sent: Thu, 13 Mar 2008 18:06:27 +0530
> From: "Sharan Basappa" <[EMAIL PROTECTED]>
> To: beginners@perl.org
> Subject:functions: rotate and factorial
>
>
> > Hi,
> >
> > I was
2008/3/12, Jenda Krynicky <[EMAIL PROTECTED]>:
>
> From: "obdulio santana" <[EMAIL PROTECTED]>
> > I want to show some áéíóú or ~n ~N in my program but I dont know how to
> print
>
> > it in a properly way;
> >
> > perl -e "print
I want to show some áéíóú or ñ Ñ in my program but I dont know how to print
it in a properly way;
perl -e "print \"algodón\n\""
algod¾n
thanks in advance.
2008/2/27, MK <[EMAIL PROTECTED]>:
>
> On 02/27/2008 09:04:50 AM, obdulio santana wrote:
> -> Hi.
>
> ->
> -> I want to read from keyboard some keys [pagedown],
> -> [Home],[End][PageUp][up][left][down][right].
> ->
> -> how can I do it?
> -&
Hi.
I want to read from keyboard some keys [pagedown],
[Home],[End][PageUp][up][left][down][right].
how can I do it?
Thanks in advance.
2008/2/20, John W. Krahn <[EMAIL PROTECTED]>:
>
> Gunnar Hjalmarsson wrote:
> > obdulio santana wrote:
> >> Please let me know if everything is Ok.
> >>
> >> @l = ;
> >> @nl = map /^\s*\n/?1:0,@l;
> >> map { print $l[$_] if
2008/2/20, Gunnar Hjalmarsson <[EMAIL PROTECTED]>:
>
> obdulio santana wrote:
> > I offer you, a tiny version ,
> >
> > @ll=split /^\s*\n/m,join '',;
> > print for @ll[1 .. $#ll - 1] ;
>
>
>
> That code does not meet the OP's spe
I offer you, a tiny version ,
@ll=split /^\s*\n/m,join '',;
print for @ll[1 .. $#ll - 1] ;
__END__
pri
dfsdfsa
dfasdf
asdf
first
second
last
ass
sad
sas
d
Maybe this helps somebody.
Thaks Perl's folks.
May be this helps
perl -lne "print if ++$D{$_} == 1" address.txt
regards
2008/2/5, Rob Dixon <[EMAIL PROTECTED]>:
>
> boll wrote:
> > I'm trying to write a script to remove duplicate e-mail addresses from a
> > list.
> > I'd like some help understanding...
> > 1. Why does it remove all but on
Thaks listers, your comments helped a lot.
everything was fixed.
regards
I must mix 3 files, and produce a little report but in line 23 and 31 is a
warning of uninitalized value I really don't see the mistake.
Thank you in advance
use warnings;
@lfile0 = ;
chomp @lfile0;
@meses = qw(ene feb mar abr may jun jul ago sep oct nov dic);
@files= glob "78*";
my %textos;
I offer you a solution and my comments
why use hash of 24 elements?
using a hash may brings some problem because if file is the joined day+day
you finally get a file corresponding for example a month (I use these kind
of reports of automatic station)
you can face this situation
2007-01-23 00:
2008/1/22, Jeff Pang <[EMAIL PROTECTED]>:
>
>
>
> -Original Message-
> >From: Jenda Krynicky <[EMAIL PROTECTED]>
> >Sent: Jan 23, 2008 12:59 AM
> >To: beginners-list
> >Subject: Re: about the dot
> >
> >From: Jeff Pang <[EMAIL PROTECTED]>
> >> I'm a little confused by perl's dot operator.f
using http://www.unix.org.ua/orelly/perl/advprog/ch05_01.htm
maybe it helps
#!/usr/bin/perl
$t=' "$tt is cool\n"';
$tt="perl";
print eval $t;
thanks regards
#
2008/1/23, Bryan R Harris <[EMAIL PROTECTED]>:
>
>
>
> >> Is there any way to change the last statement to do what I want, which
> in
>
With a tiny change we shun the use of $c. thereby a bit faster.
perl -nle 'END { print $. }' file
thanks
2008/1/22, Chas. Owens <[EMAIL PROTECTED]>:
>
> On Jan 22, 2008 2:58 PM, lerameur <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I wrote a short perl script (65 lines), simply to count some
Hei all,
hoe a print a hashtable elements in a function that receives the
reference of
this hastable ???
In this example this foreach loop in "printHT" function dont work ,
how is missed ?
#!/usr/bin/perl
use strict;
use warnings;
sub printHT($)
{
my $T =$_[0];
foreach my $id (keys (%$
Hei all,
how print a hashtable elements in a function that receives the
reference of
this hastable ???
In this example this foreach loop in "printHT" function dont work ,
how is missed ?
#!/usr/bin/perl
use strict;
use warnings;
sub printHT($)
{
my $T =$_[0];
foreach my $id (keys (%$T
Hei aill,
i'am new in PERL and i would like to ask what are development
envirment that you use ?
And if is possible to make a debugg in PERL like JAVA or Visual
Basic ?
Thanks,
Santana
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
Hei all,
i'am a newbie in PERL and i find a solution for this problem :
I have a string "xxx" , i want put ones("1") on left of string, if
this string dont have a length of 20 character.
Example :
if i have th string "HELLO" and woul like get this ;
"111HELLO"
How i can this
Hei friends,
i'am new in newbie in Perl, and i try i convert a excel file in csv
file in Suse 10.0 linux.
I install the Spreadsheet-ParseExcel-0.32.tar.gz module in my linux
but when i try run this script :
use strict;
use Spreadsheet::ParseExcel;
my $excel = Spreadsheet::ParseExcel::Workbo
Hei friends,
i'am new in newbie in Perl, and i need how i convert a excel file in
csv file in linx ?
Can you help me, please ??
Thanks,
Paulito
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Hi guys,
Suppose I have a Perl script (called from a crontab file) that will,
basically, do something like this:
$out=`lynx -dump http://lists.cpan.org/showlist.cgi?name=beginners`;
open(OUT,">out");
print OUT $out;
close(OUT);
$send_it=`mail me\@here.comhttp://www.qtp.ufl
Hi guys,
Suppose I have a Perl (called from a crontab file) script that will
(basically) do something like
this:
$out=`lynx -dump http://lists.cpan.org/showlist.cgi?name=beginners`;
open(OUT,">out");
print OUT $out;
close(OUT);
Hi all
Is there actually a Fun With Perl list?
(ok, this list is funny already, but not officially :) )
I think I learn better when I'm having fun
(that's why I think so easy to learn Perl reading
the camel book, and learning everything else by
the o'reilly books)
If there isn't a list, perhaps
OK, officially too :)
2.3 - Are there any rules?
Yes. As with most communities, there are rules. Not many, and ones that
shouldn't need to be mentioned, but they are.
Be nice
No flaming
Have fun
Silvio Luis Leite Santana wrote:
>
> Hi all
> Is there actua
uot;;
all we see is a
'Use of uninitialized value in concatenation (.)'
message, even if $PI is being previously
declared with my or our.
Thanks again
Silvio Santana
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
, but we could change it on the second...
Thanks in advance and for a long time
Silvio Santana
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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 =
Hi all
Just to confirm some thoughts I had...
Since double quotes need to be searched for variable interpolation,
while single quotes don't, I should always (whenever possible) prefer
single quotes instead of double quotes in my programs, because:
print 'hi all';
would be faster than
print "h
Hi all
I've just did that, and it worked:
[silvio@tico perl]$ cat saida
cat: saida: No such file or directory
[silvio@tico perl]$ perl -e '$x = `pwd>saida`; print "[$x]\n";'
[]
[silvio@tico perl]$ cat saida
/home/silvio/perl
It seems the backtick operator calls the shell, otherwise
it wouldn't b
Hi all
The camel-book and perldoc-page says about "open":
You may also place a + in front of any of these three
modes to request simultaneous read and write.
+< is for read/write updates
+> clobber the file, reread only what you wrote
What would +>> do? the same as +< ? the camel-book
Please
Why does code 1 work, but code 2 doesn't?
(the diference is the ; after print)
After all, is it posible or not to put a block
in place of a expression?
Thanks in advance
Silvio
CODE 1 - WORK
$bissexto = ;
chop($bissexto);
$bissexto and { print "OK\n" };
print "end\n";
CODE 2 - DOESN'T
'japhy' Pinyan wrote:
>
> On Jun 25, Silvio Luis Leite Santana said:
>
> >I'd like to know how can a program like
> >the 'camel program' be compiled and run,
> >because there are spaces spliting keywords!
>
> The secret is on line 2.
>
Hi all
Please
I'd like to know how can a program like
the 'camel program' be compiled and run,
because there are spaces spliting keywords!
It seems it's because of the 'use strict',
but I don't see any relation between them.
The camel book, doesn't tell anything about
spaces inside keywords eit
38 matches
Mail list logo