Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged perl

0 votes
558 views
1 answer
    I'm getting this error while doing a git svn rebase in cygwin Out of memory during "large" request for 268439552 ... bytes at mem.pl line 6. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
506 views
1 answer
    I have a string with several fields separated by a specific character, something like this: A,B,C I want to ... value in its own named variable. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
525 views
1 answer
    My code: print DateTime->now; Response: 2012-08-17T20:16:37 Why is there a T? Is there an option I have forgotten? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
538 views
1 answer
    From a related question asked by Bi, I've learnt how to print a matching line together with the line ... guys. Again thanks you guys! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
537 views
1 answer
    Is it possible to detect if any sound plays on a windows xp machine? Help in any language would be useful. ... powered on or anything like that. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I get that error. Here is my code. use LWP::UserAgent; use HTTP::Request::Common qw(POST); use HTTP::Cookies; ... , though. Is it a good sign? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
416 views
1 answer
    Is it customary in such a case to open the file only once? #!/usr/bin/env perl use warnings; use 5.012; use ... $result; close $fh; sleep 3; } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
518 views
1 answer
    Is it customary in such a case to open the file only once? #!/usr/bin/env perl use warnings; use 5.012; use ... $result; close $fh; sleep 3; } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
456 views
1 answer
    Is it customary in such a case to open the file only once? #!/usr/bin/env perl use warnings; use 5.012; use ... $result; close $fh; sleep 3; } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
442 views
1 answer
    Is it customary in such a case to open the file only once? #!/usr/bin/env perl use warnings; use 5.012; use ... $result; close $fh; sleep 3; } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
440 views
1 answer
    Is it customary in such a case to open the file only once? #!/usr/bin/env perl use warnings; use 5.012; use ... $result; close $fh; sleep 3; } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
508 views
1 answer
    While reading from a configuration file in Perl there might be cases when a line is invalid and it does not ... all them afterwards? Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
547 views
1 answer
    The List::MoreUtils module indicates that you use the variables $a and $b when supplying the BLOCK that goes ... and beyond: problem solved. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I have an email subject of the form: =?utf-8?B?T3.....?= The body of the email is utf-8 base64 ... do I extract information from this string? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
772 views
1 answer
    I have a Linux box in a corporate environment in which web access is gated through a proxy which ... corporate proxy with authentication? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
833 views
1 answer
    I'm trying to match a string (using a Perl regex) only if it doesn't start with "abc:" or "defg:", but I can't ... like ^(?:(?!abc:)|(?!defg:)) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
918 views
1 answer
    I have the following JSON data: {"id":"111","case":"Y","custom":{"speech invoked":"no","input ... any perl or shell solution is appreciated. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
472 views
1 answer
    I am getting a stream of data (text format) from an external server and like to pass it on to a ... , which is continuously getting updated? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
601 views
1 answer
    Right now, I have my own homegrown testing harness/directory structure/support doc strucure/distribution tools for ... the CPAN-like structure? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
737 views
1 answer
    I want to temporarily redirect stdout to an in memory variable. Prints are correctly redirected to my variable but ... output: before bc 4 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
701 views
1 answer
    I am trying to merge two hashes which contains one or more arrays using Hash::Merge. For example: use strict; ... output using Hash::Merge ? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
607 views
1 answer
    Consider the following script: use IO::File; $| = 1; my ($handle, $pid) = myPipe(); if ($pid == 0) { ... for the pipe to flush to the parent? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
929 views
1 answer
    I have this code foreach my $key (keys %ad_grp) { # Do something } which works. How would the same look ... reference, $ad_grp_ref, to the hash? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
502 views
1 answer
    While answering this question, I came to realize that I was not sure whether Perl's map can be considered a loop ... in a list of Perl loops. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
591 views
1 answer
    Is there a standard way to bind arrays (of scalars) in a SQL query? I want to bind into an IN ... accumulating some good Perl-specific info. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
562 views
1 answer
    How can I use __DATA__ twice? #!/usr/local/bin/perl use warnings; use 5.012; while ( <DATA> ) { print ... } __DATA__ one two three four five six See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
778 views
1 answer
    For (mainly) pedagogical reasons, I'm trying to run this workflow in GitHub actions: name: "We ?? Perl" on ... the success or failure. Any idea? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
562 views
1 answer
    How can I generate an array in Perl with 100 random values, without using a loop? I have to avoid all kind of ... know how to do it in Perl. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...