die alias1812 (3/21/2013 3:38:52 PM) comp.lang.perl.misc I want to to have my die, the following does not work
use strict;
use warnings;
sub die;
die "oups";
sub die {
print "There was a problem : $_[0]\n";
}
... nospam.gravitalsun.noadsplease(8)
perlcc for perl 5.12.3 for Mac OS X 10.7.5512 (4/1/2013 9:10:34 PM) comp.lang.perl.misc Hi all,
Is there a Perl compiler (perlcc) for Perl 5.12.3 running under Mac OS X 10=
..7.5? From the Linux prompt I tried: which perlcc; perldoc perlcc; perldoc =
-f perlcc; perldoc -q perlcc; and perldoc... jomarbueyes(182)
newbie: Problem with $ and \ in strings59 (4/9/2013 9:58:01 PM) comp.lang.perl.misc I m parsing a line like:
line = [feature-tributary/access_db.wxs:35: ]
Contents are in square brackets.
I just want to extract the file name with is in the value of Source attribute.
i.e. FILE.... vivekchaurasiya(5)
More idiomatic479 (4/15/2013 6:17:52 PM) comp.lang.perl.misc Here is some code I wrote in another newsgroup. It is probably
obvious that it was written by an old C hacker. If anybody would
like to suggest how it could be better perl or more idiomatic,
go ahead.
... source(985)
This looks like a Perl bug2411 (4/18/2013 3:33:12 PM) comp.lang.perl.misc # it should print string, string but it prints string number
# there is no explanation for this behavior
weird('2') for 1..2;
sub weird {
my $num = $_[0] eq '' ? 0 : $_[0] ^ $_[0] ? 0 : 1;
my $col = $_... noads.gravitalsun.adsno(1)
Ascertaing uploaded file size396 (4/23/2013 5:10:21 PM) comp.lang.perl.misc I'm uploading multiple files (HTML5) to an internet server. I wish to
verify that the files were properly received. I'm expecting to compare
file sizes. I have the file size of the file being uploaded, and I ... Joey(45)
nice parallel file reading127 (4/26/2013 7:05:38 PM) comp.lang.perl.misc # Read files in parallel. FileHandles are closed automatically.
# Files are read at every iteration circulary, hope you like it !
use strict;
use warnings;
my $Read_line = Read_files_round_robin( 'file1... nospam.gravitalsun.antispam1(33)
Turning lines of a file into array?112 (5/4/2013 4:58:37 AM) comp.lang.perl.misc Sorry for the basic question but how can I best turn each line of a file
into an array?
I have a list filenames (just output of 'ls') in a separate text file, each
on a new line:
DSC07557.JPG
DSC07532.... tuxedo(96)
Why do Perl programmers make more money than Python programmers813 (5/5/2013 5:11:11 PM) comp.lang.python According to CIO.com, Python programmers make only $83,000 per year,
while Perl programmers make $93,000 per year.
http://www.cio.com/slideshow/detail/97819?source=ifwartcio#slide10
http://www.cio.com/sli... Ignoramus16992