Re: Redirecting file handler to STDOUT (SOLVED)

2007-06-22 Thread Ben Edwards
Cool, the * is by reference. Thanks, Ben On 22/06/07, Paul Lalli <[EMAIL PROTECTED]> wrote: On Jun 22, 5:57 am, [EMAIL PROTECTED] (Ben Edwards) wrote: > I am opening a log file: > > open( LOGFILE, ">>cronlog.txt" ); > > This is being written to in lot

Redirecting file handler to STDOUT

2007-06-22 Thread Ben Edwards
uot;strict subs" in use Whjenever I try to use STDOUT;( Any ideas? Ben -- Ben Edwards - Bristol, UK If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For

Another question on making no OS specific code

2007-06-04 Thread Ben Edwards
the error message becomes the first item in the array). Anyone have a better solution to this? Ben -- Ben Edwards - Bristol, UK If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Matching of filename regular expression (was:pr warn die question)

2007-06-01 Thread Ben Edwards
y idea how I can find out if $file matches the filename 'mask' $flist. Alternatively is there a way of doing a ls and specifying a file mask? Ben -- Ben Edwards - Bristol, UK If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email

pr warn die question

2007-06-01 Thread Ben Edwards
}; But this does not work. So how do I do 2 statements for an or? Ben -- Ben Edwards - Bristol, UK If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Sending mail without a callback

2007-05-31 Thread Ben Edwards
Have been googleing for a while and don't seem to be able to find a perl library which allows me to send an email without having to resort to a callback. Can someone please point me in the correct direction. Ben -- Ben Edwards - Bristol, UK If you have a problem emailing me use

Passing multiple mixed arguments to subs

2007-05-24 Thread Ben Edwards
@files = @_[1..($args-1)]; This works fine but is a bit messy. Is there a better way of acheving the same result? Regards, Ben -- Ben Edwards - Bristol, UK If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct

Global varables

2007-05-23 Thread Ben Edwards
? Regards, Ben -- Ben Edwards - Bristol, UK If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/