http://schuetzt-unsere-kinder.de/ds/fgxbilpnp.cxbawojcqjdkvkzfzipc
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
On Fri, Sep 24, 2010 at 12:50 AM, lotug wrote:
> I need regex code to identify 3108222400 phone number.
>
> If all of your phone numbers are ten digit, then:
die "$phone_num is not a ten digit number" unless ($phone_num =~
m/^\d{10}$/);
Do you need to include any more criteria?
Regards,
Yogesh
On Wed, Feb 25, 2009 at 6:14 PM, Lauri Nikkinen wrote:
> Hi,
>
> I wrote a script which copies files in directory to an another
> directory based on user input. Any suggestions to simplify or shorten
> this? I'm using Win XP.
>
instead of accepting inputs from user, how about using command line
a
On Thu, Feb 26, 2009 at 1:47 PM, Anirban Adhikary <
anirban.adhik...@gmail.com> wrote:
> Dear list
> I want to write a program which can copy files from remote machine ( like
> scp) using perl network programming.Is it possible to create such program?
>
how about using CPAN module Net::SCP -
http
On Dec 17, 1:31 am, ben.pe...@gmail.com (Ben Perl) wrote:
> Does anyone know any perl module for validating or do some desctructive
> testing on disks on Linux platform?
>
found a few constructive ones, but nothing that would be destructive.
i doubt that you would find any at CPAN. check if any
On Dec 12, 6:41 pm, [EMAIL PROTECTED] (Octavian Rasnita) wrote:
> Hello,
>
> I have searched on cpan.org but I couldn't find what I need. Do you know if
> there is a perl module that can create questionnaires for polls?
>
> I would like to use a module that could create questionnaires with more
> q
On Oct 29, 4:09 pm, [EMAIL PROTECTED] (Sivasakthi) wrote:
> Hi All,
>
> How to check the file is modified or not?
>
> Thanks,
> Siva
1. get the file's modify time using stat function
2. then compare that time with whatever time-date you have
lookout stat in `perldoc perlfunc` or here's the link:
Vahid wrote:
> Hi all,
> I have the following code to sort UNIX's password file, it works fine
> but can only display on stdout. How can I make it write the output to
> a file?
> Thanks,
>
> #!/bin/perl -w
> #
> use strict;
> open(myFILE, '|-','awk','-F:','s[$1]++==0' ) or die $!;
> open(passwdFH,