Hello,
I have written following perl code to sort file in subfolders according to
regex matching its giving me following error
while compiling the code.
Global symbol "@i" requires explicit package name at sortfiles.pl line 21.
Global symbol "@i" requires explicit package name at sortfiles.pl lin
2009/7/8 Alexander Koenig
> Hi again,
>
> You wrote on 07/08/2009 10:14 AM:
>
> > But still a bit curios about this
> > if I do
> > $middle=`date +%F`;
> > I get result ( the new line prob),
> >
> > New File name : log_2009-07-07
> > .gz
> >
> > It there any way to do it using this (Using date co
Hi,
Thanx for helpIt was a silly mistake, I put a '\n' due to usual practice ,
The prob is resolved, by not using join.
Now
$middle=sprintf "%4d-%02d-%02d",$year+1900,$mon+1,$mday;
and
$file_name=$prefix."_".$middle.$suffix;
But still a bit curios about this
if I do
$middle=`date +%F`;
I get
Hi,
I am writing a perl script which creates a file (on Linux/UNIX) using
system's date.
e.g. log_2009-07-07.gz
Here is the code I wrote.
#!/usr/bin/perl -w
# Prog for demostrating file name concatenations.
$prefix="log";
$suffix=".gz";
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=local
Hi,
Is it possible to strip email attachments from a remote IMAP folders & save
or download them on local system (system on which script is running)
I written a simple script using perl IMAPClient which connects IMAP server
and read emails from there, but found no method to strip attachments ?
Hi,
Need some help
How can I parse a file line by line using perl.
I want to parse a test file having following data format
*File : user_stats.txt*
20GB Larry
14.5MB Bob
3MBJohn
so that I can send this data to a MySQL database table.
Can I use while loop (any other loop control)
odules
are missing)
but being a Perl Beginer I am not sure about it.
Sending installation output (see attachment)
2008/12/1 Raymond Wan <[EMAIL PROTECTED]>
>
> Hi Meghanand,
>
> (I appended to your subject as your original one was very vague.)
>
> Meghanand Acharekar wrote:
Hi,
While running following IMAP learn script (see attachment) I am getting
following error message.
config: invalid regexp for rule OEM_SPAM: /Reinstall OEM with different
> media???/i: Nested quantifiers in regex; marked by <-- HERE in
> m/(?i)Reinstall OEM with different media??? <-- HERE /
>