logo
down
shadow

PERL QUESTIONS

Parsing AutoSys JIL with perl
Parsing AutoSys JIL with perl
may help you . As I've said in my comment, please format your code sensibly. Without doing so you will get people either ignoring your question, or being grumpy about answering like me
TAG : perl
Date : November 22 2020, 03:01 PM , By : jen.hol
Calling methods from a class via another class which uses it
Calling methods from a class via another class which uses it
I hope this helps you . Composition seems suitable here: add methods to EC to dispatch to the other class's methods.For instance
TAG : perl
Date : November 20 2020, 03:01 PM , By : user7455068
Perl - traversing hash of (hashes of hashes and scalars)?
Perl - traversing hash of (hashes of hashes and scalars)?
To fix this issue I have generated a hash that looks like this. (printed using Dumper)
TAG : perl
Date : November 19 2020, 03:01 PM , By : Perry McKenzie
How can I get the symbols in a package at the time the package is defined?
How can I get the symbols in a package at the time the package is defined?
To fix the issue you can do Package variables encountered at compile-time will be added to the stash at compile time. So your workarounds are to evaluate the stash in the compile phase
TAG : perl
Date : November 13 2020, 03:01 PM , By : user7453143
Perl random string, but doesn't seem so random when used in a browser
Perl random string, but doesn't seem so random when used in a browser
Does that help This is driving me nuts! I have a script that needs to create a random id, so that the file can be renamed. Here is a test I have: , There are a number of reasons why you might get unsuitable IDs:
TAG : perl
Date : November 13 2020, 03:01 PM , By : Szaman
How to display the special value always at top while sorting?
How to display the special value always at top while sorting?
Hope that helps You can sort $special value like the lowest using (($b eq $special) - ($a eq $special)) as the first link in "sORt chain":
TAG : perl
Date : November 09 2020, 03:01 PM , By : user7452233
How to handle quotes in Perl when calling system commands?
How to handle quotes in Perl when calling system commands?
To fix the issue you can do I'm trying to make a very simple script to call the PDFXchange viewer from a .desktop file. But I'm not able to do this because the bash is seeing things that I'm not aware: , I finally make it work after a hundred of trie
TAG : perl
Date : November 07 2020, 03:01 PM , By : Mustafa Emre Gülteki
Different results iterating over a hash in Perl
Different results iterating over a hash in Perl
Hope that helps My problem is simple. I have to print some key-value pairs from a hash. I tried two different methods: , The use of foreach with each is wrong
TAG : perl
Date : November 05 2020, 03:01 PM , By : Arpit Sharma
Turn Query String into Hash Perl
Turn Query String into Hash Perl
it helps some times The URI module in conjunction with the drop-in addon URI::QueryParams can do what you want.
TAG : perl
Date : November 01 2020, 03:01 PM , By : john2000
How to identify the format of the given date in perl
How to identify the format of the given date in perl
it should still fix some issue Time::Piece->strptime() will die() if you give it a date string that can't be parsed using the given format. But we can use eval to get around that:
TAG : perl
Date : October 31 2020, 04:00 PM , By : M.Mani
Is an object accessible if not assigned to any variable?
Is an object accessible if not assigned to any variable?
I hope this helps you . While I was working on a Perl script, a question arose just for curiosity. I noticed that no warning or error appears when I create an object without assigning it to any variable (scalar/array/hash). , No.A call to Person->new
TAG : perl
Date : October 30 2020, 04:01 PM , By : Supriya Gupta
Mapping array additionally to existing hash in Perl
Mapping array additionally to existing hash in Perl
I wish this help you How can I add elements in existing hash like push in array but using mapping? , Try:
TAG : perl
Date : October 24 2020, 08:10 AM , By : sunpuller
Why are leading-hyphen options permitted on `use` lines without fat comma and with strict?
Why are leading-hyphen options permitted on `use` lines without fat comma and with strict?
I hope this helps you . You already cited perldoc perlop, but it is relevant here.
TAG : perl
Date : October 24 2020, 08:10 AM , By : Michael.HE
sub sample an array with an index array
sub sample an array with an index array
I hope this helps . Use an array slice.A slice will return the elements of @data in @indexes order
TAG : perl
Date : October 23 2020, 08:10 PM , By : Kepler Sticka-Jones
How do I get the last modified date of a directory?
How do I get the last modified date of a directory?
To fix the issue you can do I'm using 5.16.3. How do I get the last modified timestamp of a directory? With a file, I can run , This :
TAG : perl
Date : October 20 2020, 08:10 AM , By : Kujo
Perl GD module PNG image corrupt or cant open
Perl GD module PNG image corrupt or cant open
wish helps you By default, the Windows version of Perl opens files in crlf mode (replacing each new line in an output stream with carriage return + new line). You don't want this to happen to your png stream, so you need to tell Perl to use raw mode
TAG : perl
Date : October 18 2020, 08:10 PM , By : user2174185
Perl not finding data files
Perl not finding data files
I hope this helps you . I have a perl script that is refusing to see existing data files. When I take the code and isolate in a test perl script it works fine but in the main perl script it can't find anything. , If this line:
TAG : perl
Date : October 17 2020, 08:10 PM , By : user2174491
How to fix UTF-8 encoding error with Russian words
How to fix UTF-8 encoding error with Russian words
Does that help After some tries, I get the expected output Автор when switching the (Windows) console code page to 65001 (UTF-8) and decoding the input data from Windows-1251:
TAG : perl
Date : October 14 2020, 08:10 PM , By : Leslie King
How to get query string parameters from POST request in CGI Perl script?
How to get query string parameters from POST request in CGI Perl script?
I hope this helps you . Seems weird to make a POST request with all of the data in the URL. Why not just make a GET?But, anyway, CGI.pm has you covered. There's a section in the documentation called Mixing post and url parameters which says the follo
TAG : perl
Date : October 14 2020, 02:23 PM , By : JPedroScript
How to create properties file inside perl script
How to create properties file inside perl script
this will help i want to create a order.properties and inside of order.properties file create a variable called starttime and assign the value of current time(System time) in a YYYYMMDDHH24MM format using perl Scripting , i want to create a order.pro
TAG : perl
Date : October 14 2020, 02:21 PM , By : Ahmed
shadow
Privacy Policy - Terms - Contact Us © voile276.org