On Fri, May 05, 2006 at 10:13:00AM -0400, Chas Owens wrote:
>
> By the way, $a and $b are special varaibles used by the sort function
> and therefore do not need to be declared with "my", but it is bad form
> to use them for anything but the sort function. For short examples it
> is best to use $
On 5/5/06, Steve Swift <[EMAIL PROTECTED]> wrote:
I've written a tiny program to make it easy to test the syntax and
effects of a Perl statement. My program is called "perltry" and here it
is in its full gory (pun intended)
#!/usr/bin/perl
use strict;
use warnings;
system('clear');
system('perl
It works fine for me:
But you're cheating and not using my program! :-)
If I comment out the "use warnings" in my program then it works as
expected (at least, as *I* expected it to)
--
Steve Swift (aka "Swifty")
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
On Fri, 2006-05-05 at 11:29 +0100, Steve Swift wrote:
> I've written a tiny program to make it easy to test the syntax and
> effects of a Perl statement. My program is called "perltry" and here it
> is in its full gory (pun intended)
>
> #!/usr/bin/perl
> use strict;
> use warnings;
> system('c
Steve Swift wrote:
> I've written a tiny program to make it easy to test the syntax and
> effects of a Perl statement. My program is called "perltry" and here it
> is in its full gory (pun intended)
>
> #!/usr/bin/perl
> use strict;
> use warnings;
> system('clear');
> system('perl -v');
> print
On Friday 05 May 2006 12:29, Steve Swift wrote:
> I've written a tiny program to make it easy to test the syntax and
> effects of a Perl statement. My program is called "perltry" and here it
> is in its full gory (pun intended)
>
> #!/usr/bin/perl
> use strict;
> use warnings;
> system('clear');
>