2009/2/8 Blazer :
> I have limited experience of programming in C & C++ -
Good. Perl has a C-like syntax, and supports a lot of C's idioms. It
is, in my experience easier to learn as a second language, after you
learned (at least some) other language.
> I just kept reading that Perl was a very ea
I have experience in C and I find that Perl would have been a much easier
language to start with. You can write powerful code right away.
I started to learn Perl last month and I am blogging about it at:
http://damienlearnsperl.blogspot.com/
This is certainly not academic Perl but you can come c
Thanks ...
Thanks,
Paryushan
-Original Message-
From: Rob Dixon [mailto:rob.di...@gmx.com]
Sent: Friday, February 06, 2009 9:23 PM
To: Perl Beginners
Cc: Sarsamkar, Paryushan
Subject: Re: Reading file and changing contents which are not in one
line
Sarsamkar, Paryushan wrote:
> Hi All,
2009/2/9 :
> I know there is probably a simple solution for this, but can anyone help me
> with code to filter out messages with extended characters like these:
>
> àïåëüñèí
> êàïèëêà
> òàáëåòêè
> ïåðåêèñü
> òåëåôîí
> òåòðàäè
> êàðàíäàøè
> îá¸ðòêè îò êàíôåò
> êîðîáêà îò òåëåôîíà
> âàòà
> âàçà
> ä
On Sun, Feb 8, 2009 at 21:32, wrote:
> I know there is probably a simple solution for this, but can anyone help me
> with code to filter out messages with extended characters like these:
snip
It might be easier to specify what characters you want to allow rather
than the characters you don't. B
I know there is probably a simple solution for this, but can anyone help me
with code to filter out messages with extended characters like these:
àïåëüñèí
êàïèëêà
òàáëåòêè
ïåðåêèñü
òåëåôîí
òåòðàäè
êàðàíäàøè
îá¸ðòêè îò êàíôåò
êîðîáêà îò òåëåôîíà
âàòà
âàçà
äèñêè
êíèãè è òåòðàäè
È åùå êó÷à áóì
Sebastian Cabrera wrote:
>
> I need some help writing a little script doing some LDAP queries to a
> Windows Active Directory.
> Querying the value of the time when the password was last set i just get
> the Windows timestamp.
> Is there any way to convert it into a readable format?
> I'm runnin
try emacs
--- On Sun, 2/8/09, itshardtogetone wrote:
From: itshardtogetone
Subject: free perl editor wanted
To: beginners@perl.org
Date: Sunday, February 8, 2009, 5:22 PM
Can someone introduce me a free Perl editor that also can easily produce html
codes.
Thanks
From: "Blazer"
To:
Sent: Sunday, February 08, 2009 7:05 AM
Subject: How hard is it to learn this langauge?
I just kept reading that Perl was a very easy
language to learn. Is this true or is it propaganda???
Perl is quite easy to learn. Example if you wish to print out "Hello World"
,
you
On Feb 7, 5:17 am, rob.di...@gmx.com (Rob Dixon) wrote:
> Jim wrote:
>
> > How do I match a line ending in
> > ,@@)
> > using a regular expression?
>
> my $line = "1234567890,@@)\n";
>
> if ($line =~ m/,@@\)$/) {
> print "OK\n";
>
> }
>
> HTH,
>
> Rob
Thanks that works
--
To unsubscribe, e-mai
Can someone introduce me a free Perl editor that also can easily produce html
codes.
Thanks
I have limited experience of programming in C & C++ - I cant claim to
know either of these well, but i do try to keep building on what i
know, when i can. I just kept reading that Perl was a very easy
language to learn. Is this true or is it propaganda???
All I know is Larry Wall created it! Is it
On Feb 7, 7:17 am, chas.ow...@gmail.com (Chas. Owens) wrote:
> On Fri, Feb 6, 2009 at 14:31, Ice Man wrote:
> > Ok . so I have to start a program which is written in java.
>
> > #!/local/bin/perl
>
> > my $command = "/aa/bb/c/executable \&";
> > my $ret = 0;
>
> > $ret = `$command`;
>
> > exit
Rob Dixon wrote:
Jim wrote:
How do I match a line ending in
,@@)
using a regular expression?
my $line = "1234567890,@@)\n";
if ($line =~ m/,@@\)$/) {
print "OK\n";
}
Be careful with unescaped "@" characters:
$ perl -wle'
my $line = "1234567890,@+)\n";
# print $line;
my $qr = qr/,
Greg wrote:
I have an input file that I have to evaluate whether to include lines
based upon their last character.
Is there a simple regex that would allow me to assign the very last
character to a variable?
In my case it will either be A or I (capital i) if that helps?
while ( <$fh_in> )
Jim wrote:
How do I match a line ending in
,@@)
using a regular expression?
TIMTOWTDI: /,\...@\@\)$/
--
Ruud
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
Sebastian Cabrera wrote:
I need some help writing a little script doing some LDAP queries to a
Windows Active Directory.
Querying the value of the time when the password was last set i just get
the Windows timestamp.
Is there any way to convert it into a readable format?
What does a Windows t
Chas. Owens wrote:
On Sun, Feb 8, 2009 at 03:49, Gunnar Hjalmarsson wrote:
Sorry, but I fail too see how using the s/// operator to extract the date
field would be so much more confusing and fragile compared to split() +
join().
You are calling three functions (one of which is split) and assi
Hi All,
I need some help writing a little script doing some LDAP queries to a
Windows Active Directory.
Querying the value of the time when the password was last set i just get
the Windows timestamp.
Is there any way to convert it into a readable format?
I'm running the script on a linux machi
Hi Jeff,
I got that already, thanks.
It was a permission issue.
Regards
Neetee
CSC • This is a PRIVATE message. If you are not the intended recipient,
please delete without copying and kindly advise us by e-mail of the
mistake in delivery. NOTE: Regardless of content, this e-mail shall no
On Sun, Feb 8, 2009 at 03:49, Gunnar Hjalmarsson wrote:
> Chas. Owens wrote:
>>
>> On Sat, Feb 7, 2009 at 19:11, Gunnar Hjalmarsson
>> wrote:
>>>
>>> TMTOWTDI
>>>
>>> use Time::Local;
>>> while () {
>>> s{,(.+?),}{
>>> my ($d, $m, $y) = split /\//, $1;
>>> my $t = ti
Chas. Owens wrote:
On Sat, Feb 7, 2009 at 19:11, Gunnar Hjalmarsson wrote:
TMTOWTDI
use Time::Local;
while () {
s{,(.+?),}{
my ($d, $m, $y) = split /\//, $1;
my $t = timelocal 0, 0, 0, $d, $m-1, $y;
($d, $m, $y) = (localtime $t)[3..5];
s
Hi All,
I am trying to invoke a perl script in background from a cgi script. Code
seems working as i can see the script gets invoked however nothing gets
executed from the script. ( the script is functioning fine from the
command prompt)
Here is what i have written
$SIG{CHLD}='IGNORE';
my $p
23 matches
Mail list logo