1 2345678910...
|
}
return $fh if defined(fileno $fh);
# otherwise treat it as a file to open
$fh = gensym;
open($fh,$thing) || return;
Language: Perl Copyright 1995 Lincoln D. Stein. See accompanying README file for LOC: 1296 SourceForge : LAN Admin System (project search) : .../usr/share/perl/5.8/GD.pm
|
# $Id: Xml.pm,v 1.23 2007/12/24 10:01:14 flazan Exp $
#
# Project OpenPec
# file name: Xml.pm
# package: Opec::Xml
Language: Perl License: GPL (C) 2004 Ksolutions S.p.A., All Rights Reserved.... LOC: 504 SourceForge : OpenPEC (project search) : .../openpec/opec/src/Opec/Xml.pm
|
# $Id: opec.pl,v 1.28 2007/12/24 10:01:14 flazan Exp $
#
# Project OpenPec
# file name: opec
#
Language: Perl License: GPL (C) 2004 Ksolutions S.p.A., All Rights Reserved.... LOC: 956 SourceForge : OpenPEC (project search) : .../openpec/opec/src/opec.pl
|
if (!exists $_directory_cache{$dirname})
{
error "failed to open directory `$dirname'"
unless opendir (DIR, $dirname);
$_directory_cache{$dirname} = { map { $_ => 1 } readdir (DIR) };
Language: Perl License: GPL (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. LOC: 236 Savannah GNU : Automake (project search) : .../automake/automake/lib/Automake/FileUtils.pm
|
sub EVT_POPUP_MENU($$) { $_[0]->Connect( -1, -1, &Wx::wxEVT_POPUP_MENU, $_[1] ) }
sub EVT_CONTEXT_MENU($$) { $_[0]->Connect( -1, -1, &Wx::wxEVT_CONTEXT_MENU, $_[1] ) }
sub EVT_MENU_OPEN($$) { $_[0]->Connect( -1, -1, &Wx::wxEVT_MENU_OPEN, $_[1] ) }
sub EVT_MENU_CLOSE($$) { $_[0]->Connect( -1, -1, &Wx::wxEVT_MENU_CLOSE, $_[1] ) }
#
Language: Perl (c) 2000-2007 Mattia Barbon LOC: 264 SourceForge : wxPerl (project search) : .../wxperl/wxPerl/lib/Wx/Event.pm
|
}
# else i'm the child -- go spawn
open(CLIENT, "<&Client") || die "can't dup client to stdin";
open(CLOUT, ">&Client") || die "can't dup client to stdout";
## open(STDERR, ">&STDOUT") || die "can't dup stdout to stderr";
Language: Perl LOC: 35 SourceForge : WebMail/Java (project search) : .../jwebmail/jwebmail-0.7/contrib/debug/gethttpheader.pl
|
sub cleanup_tmpfiles {
local(@files);
opendir(DIR, $TMPDIR);
push(@files, grep(/^${FILE_PREFIX}.*\.${id}$/, readdir(DIR)));
closedir(DIR);
Language: Perl LOC: 358 SourceForge : Jetty - Java HTTP Servlet Server (project search) : .../jetty/CVSROOT/log_accum.pl
|
# recursively down.
undef $/;
open (LOG, "cvs log|");
map {
if (not m{/(CVSROOT|Attic)/}) {
Language: Perl (C) 2001 Rafael Laboissiere LOC: 28 SourceForge : PLplot (project search) : .../p/plplot/plplot/bin/cvs-committers.pl
|
$pkgs{$n} = $v;
$txt = "$n.txt";
open (DESC, "> $txt");
print DESC $i;
close DESC;
Language: Perl (C) 2004 Rafael Laboissiere LOC: 162 SourceForge : PLplot (project search) : .../plplot/plplot/plplot/debian/upload-debs.pl
|
$self->{FileHandle} = new IO::File;
if( -w $mp3_file || !$readonly) {
$self->{FileHandle}->open("+<${mp3_file}") or (warn("Can't open ${mp3_file}: $!") and return undef);
$self->{readonly} = 0;
} else {
Language: Perl LOC: 316 SourceForge : Linux Mp3-Box (project search) : .../l/linuxmp3box/linuxmp3box/linuxmp3box_server/ID3v1Tag.pm
|
$_ = <DATA>;
s/\@VERSION\@/$Test::AutoBuild::VERSION/g;
open SPEC, ">$ARGV[0]" or die "$!";
print SPEC $_;
close SPEC;
Language: Perl (C) 2001-2004 Daniel Berrange LOC: 266 Gna! : Test-AutoBuild (project search) : .../t/testautobuild/testautobuild/testautobuild/Test-AutoBuild.spec.PL
|
if scalar @ARGV != 1;
my ($header) = @ARGV;
open (HEADER, "< $header")
or die "$0: cannot open file $header";
my $in_struct = 0;
Language: Perl LOC: 19 SourceForge : PLplot (project search) : .../plplot/doc/docbook/bin/get-library-structs.pl
|
$title_work = "$mp3_title_long *** $mp3_title_long";
$artist_work = "$mp3_artist_long *** $mp3_artist_long";
open LCD, ">/dev/lcd";
print LCD "\33c";
print LCD "\33h";
Language: Perl LOC: 123 SourceForge : Linux Mp3-Box (project search) : .../l/linuxmp3box/linuxmp3box/linuxmp3box_server/lcd_routines.pm
|
}
# Continue with DOCTYPE detection and cleanup.
# Open $tmpfile for reading and $outfile for writing
open TMP, $tmpfile
or die "Could not open $tmpfile for reading: $!";
Language: Perl (C) 1999 Sami Lempinen LOC: 72 SourceForge : LeHTori - suomalainen HTML-validaattori (project search) : .../lehtori/lehtori/lib/LeHTori/Noutaja.pm
|
$main::dbh->{RaiseError} = 0;
while ($now->cmp($today) <= 0) {
my $fh = $fp->open($now);
if ($fh) {
my $count = 0;
Language: Perl LOC: 388 SourceForge : DXSpider DX Cluster System (project search) : .../dxspider/spider/perl/Spot.pm
|
# $Id: Bookmarks.pm,v 1.9 2007/06/14 08:58:28 flazan Exp $
#
# Project OpenPec
# file name: Bookmarks.pm
# package: Opec::Bookmarks
Language: Perl License: GPL (C) 2004 Ksolutions S.p.A., All Rights Reserved. LOC: 129 SourceForge : OpenPEC (project search) : .../openpec/opec/src/Opec/Bookmarks.pm
|
}
my $fontdir = $fontpath . "/fonts.dir";
open (FONTD, "<$fontdir") ||
die "Can't Open font dir file: $!";
my $strg = <FONTD>;
Language: Perl LOC: 1790 SourceForge : cd-circle-print (project search) : .../cd-circle-print/cd-circleprint/perl/cd-label.pl
|
#
${*$_RG_FHandle} || do {
#print "Opening connection\n";
$ipa = inet_aton( $_RG_IPAddr );
$ipp = sockaddr_in( $_RG_Port, $ipa );
Language: Perl Copyright 1996-2002 netFluid Technology Limited LOC: 208 Savannah GNU : Goldwater Middleware (project search) : .../goldwater/goldwater/perl5/General/RegData.pm
|
# $Id: SMTP.pm,v 1.11 2007/06/14 08:58:29 flazan Exp $
#
# Project OpenPec
# file name: SMTP.pm
# package: Opec::Out::SMTP
Language: Perl License: GPL (C) 2004 Ksolutions S.p.A., All Rights Reserved. LOC: 257 SourceForge : OpenPEC (project search) : .../opec/src/Opec/Out/SMTP.pm
|
#
# Show how to save a plot:
# Open a new device, make it current, copy parameters,
# and replay the plot buffer
#
Language: Perl (C) 2004 Rafael Laboissiere LOC: 148 SourceForge : PLplot (project search) : .../plplot/plplot/examples/perl/x01.pl
|
}
my $cmd = "p4 client -i";
open P4CLIENT, "| $cmd 2>&1" or die "$cmd: $!";
print P4CLIENT $client;
close P4CLIENT;
Language: Perl License: GPL (C) 2002-2004 Daniel Berrange LOC: 230 Gna! : Test-AutoBuild (project search) : .../lib/Test/AutoBuild/Repository/Perforce.pm
|
");\n",
"endfunction\n\n");
" return retval;\n}\n\n"; # Just close off the opening brace.
}
#
Language: Perl (c) 1997 Gary R. Holt. This is distributed under the terms of the LOC: 526 SourceForge : PLplot (project search) : .../plplot/bindings/octave/matwrap/wrap_octave.pl
|
BEGIN
{
open(CONFIGFILE, "/etc/landb.conf");
while(<CONFIGFILE>) {
next unless (/^([^=]+)=(.*)$/);
Language: Perl License: GPL (C) 1999 John Madden # LOC: 771 SourceForge : LANdb: The Network Administration DB (project search) : .../l/landb/landb/cgi-bin/LANdb.pm
|
#!/usr/bin/env perl
use OpenAFS::CMU_copyright;
use OpenAFS::util qw(:DEFAULT %AFS_Help);
use OpenAFS::afsconf;
Language: Perl LOC: 12 openafs : openafs (project search) : .../openafs/openafs/src/tests/bosaddhost.pl
|
#!/usr/bin/env perl
use OpenAFS::CMU_copyright;
use OpenAFS::util qw(:DEFAULT %AFS_Help);
use OpenAFS::afsconf;
Language: Perl LOC: 12 openafs : openafs (project search) : .../openafs/openafs/src/tests/bosadduser.pl
|
1 2345678910...
|